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.001719/0.001719, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001595/0.001595, allocations: 194.2 kB / 16.25 MB, free: 6.617 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.677/1.677, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4025/0.4025, allocations: 54.93 MB / 324.4 MB, free: 168 kB / 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.001459/0.001459, allocations: 67.89 kB / 394.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.137, allocations: 59.59 MB / 454.4 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.SetPoints.Examples.OccupancySchedule): time 0.2516/0.3887, allocations: 1.501 MB / 455.9 MB, free: 38.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007472/0.3895, allocations: 382.5 kB / 456.3 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.489e-05/0.3895, allocations: 1.969 kB / 456.3 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.875e-05/0.3897, allocations: 10.78 kB / 456.3 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.3899, allocations: 14.39 kB / 456.3 MB, free: 38.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005377/0.3904, allocations: 222.1 kB / 456.5 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.3908, allocations: 357.5 kB / 456.9 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.081e-05/0.3909, allocations: 8.047 kB / 456.9 MB, free: 38.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.3911, allocations: 141.9 kB / 457 MB, free: 38.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.3912, allocations: 101.6 kB / 457.1 MB, free: 38.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.344e-05/0.3913, allocations: 26.78 kB / 457.2 MB, free: 38.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.3914, allocations: 54.94 kB / 457.2 MB, free: 38.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.163e-05/0.3915, allocations: 19.78 kB / 457.2 MB, free: 38.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.3917, allocations: 110 kB / 457.3 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.392, allocations: 263 kB / 457.6 MB, free: 38.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/0.392, allocations: 3.938 kB / 457.6 MB, free: 38.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.392, allocations: 0 / 457.6 MB, free: 38.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.392, allocations: 0 / 457.6 MB, free: 38.62 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.0006675/0.3927, allocations: 0.5782 MB / 458.2 MB, free: 38.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.3928, allocations: 9.281 kB / 458.2 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.3929, allocations: 31.97 kB / 458.2 MB, free: 38.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.3932, allocations: 238.6 kB / 458.5 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.3932, allocations: 19.59 kB / 458.5 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.3933, allocations: 24.12 kB / 458.5 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.3936, allocations: 181.7 kB / 458.7 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3937, allocations: 0.875 kB / 458.7 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.3937, allocations: 10.59 kB / 458.7 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3937, allocations: 0.5625 kB / 458.7 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.3939, allocations: 95.83 kB / 458.8 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.3943, allocations: 335.7 kB / 459.1 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.3945, allocations: 233.7 kB / 459.3 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.3948, allocations: 188 kB / 459.5 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.3948, allocations: 1.438 kB / 459.5 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004071/0.3952, allocations: 339 kB / 459.9 MB, free: 37.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.173e-06/0.3952, allocations: 0.7188 kB / 459.9 MB, free: 37.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.000788/0.396, allocations: 489.1 kB / 460.3 MB, free: 37.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.3961, allocations: 308.5 kB / 460.6 MB, free: 36.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.3962, allocations: 156.5 kB / 460.8 MB, free: 36.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/0.3963, allocations: 48.64 kB / 460.8 MB, free: 36.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.3964, allocations: 103.5 kB / 460.9 MB, free: 36.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.79e-05/0.3964, allocations: 64.34 kB / 461 MB, free: 36.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.3966, allocations: 91.88 kB / 461.1 MB, free: 36.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.632e-05/0.3967, allocations: 329.2 kB / 461.4 MB, free: 36.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.397, allocations: 188.3 kB / 461.6 MB, free: 36.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.3973, allocations: 233.8 kB / 461.8 MB, free: 36.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000428/0.3977, allocations: 433.7 kB / 462.2 MB, free: 35.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3977, allocations: 0 / 462.2 MB, free: 35.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00102/0.3987, allocations: 0.8275 MB / 463.1 MB, free: 35.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.86e-05/0.3988, allocations: 152.7 kB / 463.2 MB, free: 35.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3988, allocations: 1 kB / 463.2 MB, free: 35.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3989, allocations: 2.812 kB / 463.2 MB, free: 35.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.399, allocations: 10.86 kB / 463.2 MB, free: 35.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.399, allocations: 2.844 kB / 463.2 MB, free: 35.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005247/0.3995, allocations: 97.81 kB / 463.3 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/0.3996, allocations: 26.03 kB / 463.4 MB, free: 35.49 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.0001992/0.3998, allocations: 244.8 kB / 463.6 MB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.3999, allocations: 31.56 kB / 463.6 MB, free: 35.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/0.3999, allocations: 10.67 kB / 463.6 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.3999, allocations: 2.75 kB / 463.6 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3999, allocations: 0.8125 kB / 463.6 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3999, allocations: 2.75 kB / 463.6 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.4001, allocations: 251.3 kB / 463.9 MB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4001, allocations: 3.906 kB / 463.9 MB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.86e-05/0.4002, allocations: 8.797 kB / 463.9 MB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4002, allocations: 5.312 kB / 463.9 MB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.4002, allocations: 18.27 kB / 463.9 MB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.4002, allocations: 3.719 kB / 463.9 MB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4002, allocations: 2.719 kB / 463.9 MB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005193/0.4007, allocations: 475.6 kB / 464.4 MB, free: 34.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/0.4008, allocations: 97.67 kB / 464.5 MB, free: 34.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.014e-05/0.4008, allocations: 17.31 kB / 464.5 MB, free: 34.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.4011, allocations: 40.69 kB / 464.5 MB, free: 34.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/0.4012, allocations: 16.33 kB / 464.6 MB, free: 34.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.4012, allocations: 17.2 kB / 464.6 MB, free: 34.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.057e-05/0.4013, allocations: 112.8 kB / 464.7 MB, free: 34.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4013, allocations: 3.281 kB / 464.7 MB, free: 34.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.4016, allocations: 84.53 kB / 464.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 (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.4017, allocations: 135 kB / 464.9 MB, free: 34.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008118/0.4026, allocations: 0.8802 MB / 465.8 MB, free: 33.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4026, allocations: 0 / 465.8 MB, free: 33.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.4029, allocations: 0.5638 MB / 466.4 MB, free: 33.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.4032, allocations: 33.58 kB / 466.4 MB, free: 33.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006124/0.4038, allocations: 432.3 kB / 466.8 MB, free: 33.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.4039, allocations: 0.7115 MB / 467.5 MB, free: 32.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.127e-05/0.404, allocations: 6.719 kB / 467.5 MB, free: 32.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.404, allocations: 23.16 kB / 467.5 MB, free: 32.52 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.404, allocations: 0 / 467.5 MB, free: 32.52 MB / 382.1 MB Notification: Performance of Templates: time 0.006169/0.4102, allocations: 4.075 MB / 471.6 MB, free: 32.2 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)