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.001377/0.001377, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001659/0.001659, allocations: 177.3 kB / 15.94 MB, free: 228 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.531/1.531, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3766/0.3766, allocations: 54.98 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.0005121/0.0005123, allocations: 16 kB / 396.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3427, allocations: 60.72 MB / 457.3 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.SetPoints.Examples.OccupancySchedule): time 0.002145/0.3449, allocations: 1.129 MB / 458.4 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000918/0.3458, allocations: 350.3 kB / 458.8 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.3459, allocations: 3.062 kB / 458.8 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.285e-05/0.346, allocations: 3.938 kB / 458.8 MB, free: 38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.3462, allocations: 15.16 kB / 458.8 MB, free: 38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008219/0.347, allocations: 208.9 kB / 459 MB, free: 38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003128/0.3474, allocations: 153.1 kB / 459.1 MB, free: 38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.269e-05/0.3475, allocations: 7.734 kB / 459.2 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003572/0.3478, allocations: 120.7 kB / 459.3 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.3481, allocations: 100.5 kB / 459.4 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.3482, allocations: 13.56 kB / 459.4 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.3483, allocations: 29.84 kB / 459.4 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.733e-05/0.3484, allocations: 21.88 kB / 459.4 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.795e-05/0.3485, allocations: 59.58 kB / 459.5 MB, free: 37.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.3488, allocations: 173 kB / 459.7 MB, free: 37.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.3488, allocations: 0 / 459.7 MB, free: 37.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3489, allocations: 2.438 kB / 459.7 MB, free: 37.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.3489, allocations: 0 / 459.7 MB, free: 37.94 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.0006982/0.3496, allocations: 0.5311 MB / 460.2 MB, free: 37.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.3496, allocations: 8.719 kB / 460.2 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.3498, allocations: 32.53 kB / 460.2 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.3502, allocations: 248.9 kB / 460.5 MB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/0.3503, allocations: 16.12 kB / 460.5 MB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.513e-05/0.3504, allocations: 24.62 kB / 460.5 MB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.3508, allocations: 178.2 kB / 460.7 MB, free: 37.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3508, allocations: 1.156 kB / 460.7 MB, free: 37.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.3508, allocations: 7.344 kB / 460.7 MB, free: 37.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3508, allocations: 0 / 460.7 MB, free: 37.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.3511, allocations: 96.86 kB / 460.8 MB, free: 37.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.3515, allocations: 347.3 kB / 461.1 MB, free: 36.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.3519, allocations: 236 kB / 461.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3519, allocations: 1.344 kB / 461.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004582/0.3524, allocations: 330.5 kB / 461.7 MB, free: 36.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/0.3524, allocations: 0.9062 kB / 461.7 MB, free: 36.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001051/0.3534, allocations: 0.6308 MB / 462.3 MB, free: 36.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.3536, allocations: 315.6 kB / 462.6 MB, free: 35.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.3537, allocations: 154 kB / 462.8 MB, free: 35.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.027e-05/0.3538, allocations: 45.27 kB / 462.8 MB, free: 35.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.804e-05/0.3539, allocations: 105.6 kB / 462.9 MB, free: 35.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.3541, allocations: 60.75 kB / 463 MB, free: 35.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.3541, allocations: 13.03 kB / 463 MB, free: 35.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.3542, allocations: 331.2 kB / 463.3 MB, free: 35.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/0.3547, allocations: 194 kB / 463.5 MB, free: 35.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004913/0.3552, allocations: 225.3 kB / 463.7 MB, free: 35.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00053/0.3558, allocations: 292.1 kB / 464 MB, free: 35.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.3558, allocations: 0.75 kB / 464 MB, free: 35.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001685/0.3575, allocations: 0.8279 MB / 464.8 MB, free: 35.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.3576, allocations: 148.6 kB / 465 MB, free: 34.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3576, allocations: 0 / 465 MB, free: 34.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.3577, allocations: 2.875 kB / 465 MB, free: 34.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.3578, allocations: 16.3 kB / 465 MB, free: 34.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.3579, allocations: 2.891 kB / 465 MB, free: 34.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009716/0.3588, allocations: 132.8 kB / 465.1 MB, free: 34.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.318e-05/0.3589, allocations: 27.19 kB / 465.2 MB, free: 34.93 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.0002834/0.3592, allocations: 241.2 kB / 465.4 MB, free: 34.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.789e-05/0.3593, allocations: 26.05 kB / 465.4 MB, free: 34.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.144e-05/0.3594, allocations: 18.19 kB / 465.4 MB, free: 34.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.3594, allocations: 0 / 465.4 MB, free: 34.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3594, allocations: 2.781 kB / 465.4 MB, free: 34.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3594, allocations: 0 / 465.4 MB, free: 34.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.3597, allocations: 260.4 kB / 465.7 MB, free: 34.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3597, allocations: 4.688 kB / 465.7 MB, free: 34.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.777e-05/0.3597, allocations: 5 kB / 465.7 MB, free: 34.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3597, allocations: 0 / 465.7 MB, free: 34.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.202e-05/0.3598, allocations: 23.23 kB / 465.7 MB, free: 34.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3598, allocations: 0 / 465.7 MB, free: 34.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3598, allocations: 2.906 kB / 465.7 MB, free: 34.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007797/0.3606, allocations: 0.4999 MB / 466.2 MB, free: 34.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.3607, allocations: 97.22 kB / 466.3 MB, free: 34.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.346e-05/0.3607, allocations: 11.5 kB / 466.3 MB, free: 34.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000528/0.3613, allocations: 64.25 kB / 466.4 MB, free: 34.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.3614, allocations: 11.91 kB / 466.4 MB, free: 34.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.834e-05/0.3614, allocations: 18.42 kB / 466.4 MB, free: 34.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.3616, allocations: 119.2 kB / 466.6 MB, free: 34.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3616, allocations: 4 kB / 466.6 MB, free: 34.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005816/0.3622, allocations: 81.88 kB / 466.6 MB, free: 34.13 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.0002648/0.3624, allocations: 131.2 kB / 466.8 MB, free: 34.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.3639, allocations: 0.8777 MB / 467.6 MB, free: 33.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3639, allocations: 0 / 467.6 MB, free: 33.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005706/0.3645, allocations: 0.5678 MB / 468.2 MB, free: 33.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.3647, allocations: 19.69 kB / 468.2 MB, free: 33.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008396/0.3656, allocations: 422.6 kB / 468.6 MB, free: 33.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.3658, allocations: 0.7192 MB / 469.4 MB, free: 32.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.069e-05/0.3658, allocations: 6.5 kB / 469.4 MB, free: 32.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.3658, allocations: 14.44 kB / 469.4 MB, free: 32.33 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.3659, allocations: 0 / 469.4 MB, free: 32.33 MB / 382.1 MB Notification: Performance of Templates: time 0.0091/0.375, allocations: 3.701 MB / 473.1 MB, free: 31.99 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: