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.001226/0.001226, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009286/0.009286, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4044/0.4044, allocations: 55.01 MB / 325.8 MB, free: 0.625 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.0005367/0.0005365, allocations: 23.98 kB / 397.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3869, allocations: 60.71 MB / 458 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.SetPoints.Examples.OccupancySchedule): time 0.001913/0.3889, allocations: 1.153 MB / 459.1 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000799/0.3897, allocations: 457 kB / 459.6 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.3897, allocations: 1.219 kB / 459.6 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.474e-05/0.3898, allocations: 10.36 kB / 459.6 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.39, allocations: 14.05 kB / 459.6 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.3905, allocations: 222.3 kB / 459.8 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.3907, allocations: 277.3 kB / 460.1 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.347e-05/0.3908, allocations: 9.641 kB / 460.1 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.3909, allocations: 118.7 kB / 460.2 MB, free: 38.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.3911, allocations: 99.45 kB / 460.3 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.397e-05/0.3911, allocations: 13.28 kB / 460.3 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.3912, allocations: 39.95 kB / 460.4 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.185e-05/0.3913, allocations: 20.23 kB / 460.4 MB, free: 38.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.3915, allocations: 129.8 kB / 460.5 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.3918, allocations: 241.6 kB / 460.7 MB, free: 38.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3918, allocations: 0.625 kB / 460.7 MB, free: 38.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3918, allocations: 0 / 460.7 MB, free: 38.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.3918, allocations: 1 kB / 460.7 MB, free: 38.78 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.0005837/0.3924, allocations: 0.5242 MB / 461.3 MB, free: 38.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.986e-05/0.3925, allocations: 8.125 kB / 461.3 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.807e-05/0.3926, allocations: 32.75 kB / 461.3 MB, free: 38.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.3929, allocations: 249.8 kB / 461.5 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.3929, allocations: 16.64 kB / 461.6 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.393, allocations: 31.19 kB / 461.6 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.3933, allocations: 182.7 kB / 461.8 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3933, allocations: 192 / 461.8 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.3934, allocations: 13.69 kB / 461.8 MB, free: 37.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3934, allocations: 1.438 kB / 461.8 MB, free: 37.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.3935, allocations: 94 kB / 461.9 MB, free: 37.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.3938, allocations: 325.5 kB / 462.2 MB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.3941, allocations: 243.1 kB / 462.4 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.3942, allocations: 185.7 kB / 462.6 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.3943, allocations: 0 / 462.6 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003277/0.3946, allocations: 333.2 kB / 462.9 MB, free: 37.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.092e-06/0.3946, allocations: 0.5625 kB / 462.9 MB, free: 37.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007174/0.3953, allocations: 484.6 kB / 463.4 MB, free: 37.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.775e-05/0.3954, allocations: 314.8 kB / 463.7 MB, free: 36.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.3956, allocations: 153.7 kB / 463.9 MB, free: 36.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.3956, allocations: 45.52 kB / 463.9 MB, free: 36.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.609e-05/0.3957, allocations: 104.1 kB / 464 MB, free: 36.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.17e-05/0.3958, allocations: 67.77 kB / 464.1 MB, free: 36.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.745e-05/0.3958, allocations: 38.94 kB / 464.1 MB, free: 36.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.3959, allocations: 336.8 kB / 464.5 MB, free: 36.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.3963, allocations: 190.5 kB / 464.6 MB, free: 36.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/0.3967, allocations: 227.9 kB / 464.9 MB, free: 36.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000575/0.3973, allocations: 432.9 kB / 465.3 MB, free: 36.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3973, allocations: 0 / 465.3 MB, free: 36.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001117/0.3984, allocations: 0.8326 MB / 466.1 MB, free: 35.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.842e-05/0.3985, allocations: 152.2 kB / 466.3 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3985, allocations: 0.625 kB / 466.3 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.3985, allocations: 3.875 kB / 466.3 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.3987, allocations: 13.08 kB / 466.3 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3987, allocations: 0 / 466.3 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006581/0.3993, allocations: 130.7 kB / 466.4 MB, free: 35.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.3994, allocations: 27.36 kB / 466.4 MB, free: 35.69 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 (occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.iPerSto,$PRE.occSchDay.iPerSto,occSchDay.iPerSta,$PRE.occSchDay.iPerSta,occSchDay.nexStoInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStaInd,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition4,$whenCondition3,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.iPerSto,$PRE.occSchWee.iPerSto,occSchWee.iPerSta,$PRE.occSchWee.iPerSta,occSchWee.nexStoInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStaInd,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001834/0.3996, allocations: 241.3 kB / 466.7 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.3996, allocations: 25.91 kB / 466.7 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.3997, allocations: 17.77 kB / 466.7 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3997, allocations: 2.625 kB / 466.7 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3997, allocations: 3 kB / 466.7 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3997, allocations: 0 / 466.7 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.3999, allocations: 260.7 kB / 467 MB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3999, allocations: 4.656 kB / 467 MB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.694e-05/0.3999, allocations: 6.969 kB / 467 MB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3999, allocations: 7.938 kB / 467 MB, free: 35.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.4, allocations: 11.84 kB / 467 MB, free: 35.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4, allocations: 3.422 kB / 467 MB, free: 35.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4, allocations: 1 kB / 467 MB, free: 35.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005166/0.4005, allocations: 475.8 kB / 467.5 MB, free: 34.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/0.4006, allocations: 91.8 kB / 467.6 MB, free: 34.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.4006, allocations: 23.38 kB / 467.6 MB, free: 34.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003564/0.401, allocations: 60.42 kB / 467.6 MB, free: 34.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.401, allocations: 18.22 kB / 467.7 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.4011, allocations: 13.12 kB / 467.7 MB, free: 34.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.353e-05/0.4011, allocations: 120.7 kB / 467.8 MB, free: 34.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4011, allocations: 3.938 kB / 467.8 MB, free: 34.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.4015, allocations: 84.09 kB / 467.9 MB, free: 34.75 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001624/0.4016, allocations: 140.2 kB / 468 MB, free: 34.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007684/0.4024, allocations: 0.8747 MB / 468.9 MB, free: 34.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4024, allocations: 0 / 468.9 MB, free: 34.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003564/0.4028, allocations: 0.5644 MB / 469.5 MB, free: 33.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.403, allocations: 29.08 kB / 469.5 MB, free: 33.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006089/0.4036, allocations: 432.9 kB / 469.9 MB, free: 33.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.4038, allocations: 0.7192 MB / 470.6 MB, free: 32.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.119e-05/0.4038, allocations: 13.77 kB / 470.6 MB, free: 32.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.253e-05/0.4038, allocations: 10.44 kB / 470.6 MB, free: 32.7 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4038, allocations: 0 / 470.6 MB, free: 32.7 MB / 382.1 MB Notification: Performance of Templates: time 0.007144/0.411, allocations: 3.832 MB / 474.5 MB, free: 32.33 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: