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.001996/0.001996, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002029/0.002029, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.622/1.622, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4431/0.4431, allocations: 54.96 MB / 324.7 MB, free: 15.94 MB / 270.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.001481/0.001481, allocations: 67.91 kB / 395.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1474, allocations: 59.59 MB / 454.9 MB, free: 172 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.SetPoints.Examples.OccupancySchedule): time 0.2382/0.3856, allocations: 1.434 MB / 456.3 MB, free: 39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006219/0.3863, allocations: 400.3 kB / 456.7 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.377e-05/0.3864, allocations: 1.656 kB / 456.7 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.452e-05/0.3865, allocations: 9.594 kB / 456.7 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.3867, allocations: 13.77 kB / 456.8 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005338/0.3872, allocations: 237.8 kB / 457 MB, free: 38.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.3875, allocations: 356.3 kB / 457.3 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.469e-05/0.3876, allocations: 7.469 kB / 457.3 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.3877, allocations: 135 kB / 457.5 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.3879, allocations: 107.5 kB / 457.6 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.352e-05/0.3879, allocations: 30.09 kB / 457.6 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.388, allocations: 55.05 kB / 457.7 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.869e-05/0.3881, allocations: 12.59 kB / 457.7 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.3882, allocations: 120.9 kB / 457.8 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.3885, allocations: 254.4 kB / 458 MB, free: 38.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3885, allocations: 1.969 kB / 458 MB, free: 38.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.165e-06/0.3885, allocations: 0.5938 kB / 458.1 MB, free: 38.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.3885, allocations: 1 kB / 458.1 MB, free: 38.79 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.0004985/0.389, allocations: 0.5848 MB / 458.6 MB, free: 38.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3891, allocations: 10.44 kB / 458.6 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.15e-05/0.3891, allocations: 31.97 kB / 458.7 MB, free: 38.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.3894, allocations: 238.7 kB / 458.9 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.3894, allocations: 15.27 kB / 458.9 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.166e-05/0.3895, allocations: 24.09 kB / 458.9 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.3897, allocations: 184.3 kB / 459.1 MB, free: 37.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.3898, allocations: 4.125 kB / 459.1 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.3898, allocations: 11 kB / 459.1 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.3898, allocations: 0 / 459.1 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.39, allocations: 93.98 kB / 459.2 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.3902, allocations: 331.8 kB / 459.6 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.3905, allocations: 241.6 kB / 459.8 MB, free: 37.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.3907, allocations: 183.6 kB / 460 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.3907, allocations: 5.391 kB / 460 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003827/0.3911, allocations: 331.8 kB / 460.3 MB, free: 37.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 2.655e-06/0.3911, allocations: 0.9375 kB / 460.3 MB, free: 37.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006798/0.3918, allocations: 484.9 kB / 460.8 MB, free: 37.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.755e-05/0.3919, allocations: 313.7 kB / 461.1 MB, free: 36.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.392, allocations: 155.8 kB / 461.2 MB, free: 36.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.392, allocations: 44.45 kB / 461.3 MB, free: 36.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.3921, allocations: 108.8 kB / 461.4 MB, free: 36.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.962e-05/0.3922, allocations: 60.41 kB / 461.4 MB, free: 36.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.3923, allocations: 89.03 kB / 461.5 MB, free: 36.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.022e-05/0.3924, allocations: 334.2 kB / 461.9 MB, free: 36.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.3927, allocations: 189.8 kB / 462 MB, free: 36.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.393, allocations: 235 kB / 462.3 MB, free: 36.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/0.3933, allocations: 434.6 kB / 462.7 MB, free: 35.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3934, allocations: 0 / 462.7 MB, free: 35.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009454/0.3943, allocations: 0.8324 MB / 463.5 MB, free: 35.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.901e-05/0.3944, allocations: 150.5 kB / 463.7 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3944, allocations: 3.453 kB / 463.7 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3944, allocations: 3.281 kB / 463.7 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.3945, allocations: 9 kB / 463.7 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.3946, allocations: 5.938 kB / 463.7 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005108/0.3951, allocations: 97.14 kB / 463.8 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/0.3951, allocations: 26.55 kB / 463.8 MB, free: 35.44 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.0001686/0.3953, allocations: 231.5 kB / 464 MB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.3954, allocations: 31.69 kB / 464.1 MB, free: 35.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.3954, allocations: 17.98 kB / 464.1 MB, free: 35.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3954, allocations: 0 / 464.1 MB, free: 35.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3954, allocations: 4.438 kB / 464.1 MB, free: 35.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3954, allocations: 0 / 464.1 MB, free: 35.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.3956, allocations: 250.1 kB / 464.3 MB, free: 35.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3956, allocations: 3.438 kB / 464.3 MB, free: 35.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.017e-05/0.3956, allocations: 8.094 kB / 464.4 MB, free: 35.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3956, allocations: 3.938 kB / 464.4 MB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.3957, allocations: 20.31 kB / 464.4 MB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/0.3957, allocations: 0.8125 kB / 464.4 MB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3957, allocations: 6.656 kB / 464.4 MB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004768/0.3962, allocations: 476.1 kB / 464.8 MB, free: 34.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.3962, allocations: 94.48 kB / 464.9 MB, free: 34.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/0.3963, allocations: 19.19 kB / 465 MB, free: 34.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.3965, allocations: 34.27 kB / 465 MB, free: 34.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.932e-05/0.3966, allocations: 12.33 kB / 465 MB, free: 34.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.3966, allocations: 24.03 kB / 465 MB, free: 34.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.055e-05/0.3967, allocations: 113.8 kB / 465.1 MB, free: 34.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3967, allocations: 0 / 465.1 MB, free: 34.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003064/0.397, allocations: 85.09 kB / 465.2 MB, free: 34.53 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.0001638/0.3972, allocations: 139.2 kB / 465.4 MB, free: 34.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008287/0.398, allocations: 0.8751 MB / 466.2 MB, free: 33.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.398, allocations: 0 / 466.2 MB, free: 33.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004267/0.3985, allocations: 0.5685 MB / 466.8 MB, free: 33.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.3987, allocations: 29.12 kB / 466.8 MB, free: 33.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006906/0.3994, allocations: 405.5 kB / 467.2 MB, free: 33.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.3996, allocations: 0.721 MB / 467.9 MB, free: 32.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.355e-05/0.3997, allocations: 5.672 kB / 468 MB, free: 32.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.3997, allocations: 13.66 kB / 468 MB, free: 32.52 MB / 382.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3997, allocations: 0 / 468 MB, free: 32.52 MB / 382.1 MB Notification: Performance of Templates: time 0.007066/0.4068, allocations: 4.141 MB / 472.1 MB, free: 32.19 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.makefile (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)