Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.433/2.433, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001321/0.001321, allocations: 178.5 kB / 326.3 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.386/2.386, allocations: 205.4 MB / 0.5772 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001027/0.001026, allocations: 98.41 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.0004822, allocations: 10.69 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2331, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001875/0.2351, allocations: 1.152 MB / 0.9006 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009712/0.2361, allocations: 403.1 kB / 0.901 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.89e-05/0.2361, allocations: 3.938 kB / 0.901 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.806e-05/0.2362, allocations: 7.984 kB / 0.901 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.2364, allocations: 7.938 kB / 0.901 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007063/0.2371, allocations: 185 kB / 0.9012 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.2374, allocations: 263.6 kB / 0.9015 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.424e-05/0.2375, allocations: 4.234 kB / 0.9015 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.2377, allocations: 139.8 kB / 0.9016 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.238, allocations: 127.7 kB / 0.9017 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.7e-05/0.2381, allocations: 19.94 kB / 0.9017 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.2382, allocations: 35.98 kB / 0.9018 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.786e-05/0.2383, allocations: 43.88 kB / 0.9018 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.2384, allocations: 61.64 kB / 0.9019 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.2387, allocations: 179.6 kB / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2388, allocations: 0 / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2388, allocations: 0 / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.2388, allocations: 8 kB / 0.902 GB, free: 62.9 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001148/0.24, allocations: 0.5143 MB / 0.9025 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.24, allocations: 8.031 kB / 0.9026 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.2401, allocations: 32.73 kB / 0.9026 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.2405, allocations: 250.1 kB / 0.9028 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/0.2406, allocations: 24.36 kB / 0.9028 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.2407, allocations: 32.36 kB / 0.9029 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007169/0.2414, allocations: 253.3 kB / 0.9031 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.2414, allocations: 192 / 0.9031 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.456e-05/0.2415, allocations: 11.94 kB / 0.9031 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.2415, allocations: 7.938 kB / 0.9031 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004616/0.242, allocations: 99.86 kB / 0.9032 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004834/0.2425, allocations: 379.9 kB / 0.9036 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006217/0.2431, allocations: 250.6 kB / 0.9038 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004498/0.2436, allocations: 127.4 kB / 0.904 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.2436, allocations: 4 kB / 0.904 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007769/0.2444, allocations: 278.3 kB / 0.9042 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=24): time 3.797e-06/0.2444, allocations: 0 / 0.9042 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.001849/0.2463, allocations: 0.5251 MB / 0.9047 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.2464, allocations: 140.5 kB / 0.9049 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.2465, allocations: 155.3 kB / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.221e-05/0.2466, allocations: 45.7 kB / 0.9051 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/0.2467, allocations: 108.8 kB / 0.9052 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.249e-05/0.2468, allocations: 59.19 kB / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.2469, allocations: 12 kB / 0.9052 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.993e-05/0.247, allocations: 338.8 kB / 0.9056 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004324/0.2474, allocations: 175.9 kB / 0.9057 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/0.2479, allocations: 216.4 kB / 0.9059 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/0.2483, allocations: 236.8 kB / 0.9062 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.2483, allocations: 0 / 0.9062 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001557/0.2499, allocations: 0.7291 MB / 0.9069 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.208e-05/0.25, allocations: 87.38 kB / 0.907 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.25, allocations: 7.938 kB / 0.907 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.2501, allocations: 0 / 0.907 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.2503, allocations: 19.92 kB / 0.907 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.2503, allocations: 4.062 kB / 0.907 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006821/0.251, allocations: 79.77 kB / 0.9071 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.397e-05/0.2511, allocations: 23.98 kB / 0.9071 GB, free: 57.37 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition3,$whenCondition4,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.nexStaInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStoInd,$PRE.occSchWee.iPerSta,occSchWee.iPerSta,$PRE.occSchWee.iPerSto,occSchWee.iPerSto,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002382/0.2513, allocations: 160.4 kB / 0.9072 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.772e-05/0.2514, allocations: 19.81 kB / 0.9073 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/0.2514, allocations: 20.66 kB / 0.9073 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.2515, allocations: 3.984 kB / 0.9073 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.2515, allocations: 4 kB / 0.9073 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.2515, allocations: 88.95 kB / 0.9074 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.553e-05/0.2516, allocations: 19.98 kB / 0.9074 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.2519, allocations: 27.97 kB / 0.9074 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.677e-05/0.252, allocations: 19.97 kB / 0.9074 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00136/0.2534, allocations: 0.7329 MB / 0.9081 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001326/0.2547, allocations: 0.8046 MB / 0.9089 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004854/0.2552, allocations: 155.9 kB / 0.9091 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.975e-05/0.2553, allocations: 110.1 kB / 0.9092 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of Backend: time 8.32e-07/0.2553, allocations: 7.938 kB / 0.9092 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001694/0.257, allocations: 0.6845 MB / 0.9099 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0006708/0.2577, allocations: 0.701 MB / 0.9105 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of Templates: time 0.009324/0.2671, allocations: 3.298 MB / 0.9138 GB, free: 50.42 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)