Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Annex60.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.908/1.908, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.439/0.439, allocations: 55.02 MB / 325.4 MB, free: 0.6797 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005466/0.0005466, allocations: 12 kB / 396.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4659/0.4665, allocations: 60.72 MB / 457.4 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.SetPoints.Examples.OccupancySchedule): time 0.001387/0.4679, allocations: 1.138 MB / 458.5 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006013/0.4685, allocations: 377.4 kB / 458.9 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.629e-05/0.4686, allocations: 1.406 kB / 458.9 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.455e-05/0.4686, allocations: 10.5 kB / 458.9 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.4688, allocations: 9.688 kB / 458.9 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005248/0.4693, allocations: 208.1 kB / 459.1 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.4696, allocations: 243.1 kB / 459.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.395e-05/0.4696, allocations: 7.219 kB / 459.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.4698, allocations: 130.5 kB / 459.5 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.47, allocations: 101.1 kB / 459.6 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.633e-05/0.47, allocations: 12.12 kB / 459.6 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.494e-05/0.4701, allocations: 36.08 kB / 459.6 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/0.4702, allocations: 18.77 kB / 459.6 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.661e-05/0.4703, allocations: 69.23 kB / 459.7 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.4705, allocations: 178.8 kB / 459.9 MB, free: 38.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4705, allocations: 1.031 kB / 459.9 MB, free: 38.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4705, allocations: 0 / 459.9 MB, free: 38.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.4705, allocations: 0 / 459.9 MB, free: 38.26 MB / 382.1 MB 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.0004908/0.471, allocations: 0.5254 MB / 460.4 MB, free: 37.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.471, allocations: 8.156 kB / 460.4 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.203e-05/0.4711, allocations: 30.91 kB / 460.4 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.4714, allocations: 250.2 kB / 460.7 MB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.4714, allocations: 14.61 kB / 460.7 MB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.4715, allocations: 27.06 kB / 460.7 MB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.4718, allocations: 177.2 kB / 460.9 MB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.4718, allocations: 0 / 460.9 MB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.4718, allocations: 10.22 kB / 460.9 MB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4718, allocations: 6.328 kB / 460.9 MB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.472, allocations: 98.09 kB / 461 MB, free: 37.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.4723, allocations: 333 kB / 461.3 MB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.4725, allocations: 235.5 kB / 461.6 MB, free: 37.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.4727, allocations: 185.7 kB / 461.7 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.4728, allocations: 4.062 kB / 461.7 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003792/0.4732, allocations: 331.2 kB / 462.1 MB, free: 36.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.252e-06/0.4732, allocations: 0 / 462.1 MB, free: 36.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007491/0.4739, allocations: 483.8 kB / 462.5 MB, free: 36.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.474, allocations: 313.9 kB / 462.8 MB, free: 36.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.468e-05/0.4741, allocations: 151.6 kB / 463 MB, free: 36.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.4742, allocations: 43.86 kB / 463 MB, free: 36.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/0.4743, allocations: 107.7 kB / 463.1 MB, free: 36.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.993e-05/0.4743, allocations: 64.58 kB / 463.2 MB, free: 36.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.4744, allocations: 11.94 kB / 463.2 MB, free: 36.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.539e-05/0.4744, allocations: 326.9 kB / 463.5 MB, free: 35.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.4747, allocations: 193 kB / 463.7 MB, free: 35.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.4749, allocations: 240 kB / 464 MB, free: 35.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.4752, allocations: 290.5 kB / 464.2 MB, free: 35.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.4752, allocations: 0 / 464.2 MB, free: 35.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009673/0.4762, allocations: 0.8303 MB / 465.1 MB, free: 35.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.078e-05/0.4763, allocations: 149.3 kB / 465.2 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4763, allocations: 0.625 kB / 465.2 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4763, allocations: 3.969 kB / 465.2 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.787e-05/0.4764, allocations: 8.719 kB / 465.2 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.4765, allocations: 4.547 kB / 465.2 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005692/0.477, allocations: 129.6 kB / 465.4 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.4771, allocations: 25.95 kB / 465.4 MB, free: 35.41 MB / 382.1 MB 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.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,$whenCondition1,$whenCondition2,$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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001894/0.4773, allocations: 240.6 kB / 465.6 MB, free: 35.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.4773, allocations: 27.23 kB / 465.7 MB, free: 35.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.4774, allocations: 17.39 kB / 465.7 MB, free: 35.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4774, allocations: 0.75 kB / 465.7 MB, free: 35.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4774, allocations: 6.281 kB / 465.7 MB, free: 35.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4774, allocations: 1.312 kB / 465.7 MB, free: 35.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.4776, allocations: 256 kB / 465.9 MB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.4776, allocations: 0 / 465.9 MB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.679e-05/0.4776, allocations: 5.812 kB / 465.9 MB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4776, allocations: 3.953 kB / 465.9 MB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.4777, allocations: 17.12 kB / 466 MB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4777, allocations: 1.781 kB / 466 MB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4777, allocations: 2.906 kB / 466 MB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005398/0.4782, allocations: 481.1 kB / 466.4 MB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/0.4783, allocations: 90.77 kB / 466.5 MB, free: 34.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.873e-05/0.4783, allocations: 20.48 kB / 466.5 MB, free: 34.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.4786, allocations: 68.69 kB / 466.6 MB, free: 34.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.4787, allocations: 15.08 kB / 466.6 MB, free: 34.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.4787, allocations: 12.44 kB / 466.6 MB, free: 34.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.261e-05/0.4788, allocations: 115.6 kB / 466.7 MB, free: 34.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4788, allocations: 0 / 466.7 MB, free: 34.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.4791, allocations: 81.59 kB / 466.8 MB, free: 34.56 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc,$whenCondition1,$whenCondition2,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc) * Number of discrete states: 18 (occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,$whenCondition2,occSchWee.tOcc,occSchWee.iPerSta,occSchWee.occupied,occSchWee.nexStaInd,$whenCondition1,occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,$whenCondition4,occSchDay.tOcc,occSchDay.iPerSta,occSchDay.occupied,occSchDay.nexStaInd,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001597/0.4793, allocations: 144.6 kB / 467 MB, free: 34.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007525/0.48, allocations: 0.8661 MB / 467.8 MB, free: 33.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.48, allocations: 4.156 kB / 467.8 MB, free: 33.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003513/0.4804, allocations: 0.5659 MB / 468.4 MB, free: 33.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.4806, allocations: 23.73 kB / 468.4 MB, free: 33.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005872/0.4812, allocations: 436.8 kB / 468.8 MB, free: 33.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.4813, allocations: 0.7168 MB / 469.6 MB, free: 32.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.164e-05/0.4814, allocations: 9.641 kB / 469.6 MB, free: 32.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.4814, allocations: 10.41 kB / 469.6 MB, free: 32.51 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.4814, allocations: 0 / 469.6 MB, free: 32.51 MB / 382.1 MB Notification: Performance of Templates: time 0.006452/0.4879, allocations: 3.71 MB / 473.3 MB, free: 32.16 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) Environment - environmentSimulation: