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.001148/0.001148, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001314/0.001315, allocations: 194 kB / 16.14 MB, free: 6.652 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.539/1.539, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3969/0.3969, allocations: 54.93 MB / 324.3 MB, free: 156 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.001494/0.001494, allocations: 71.89 kB / 394.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1512, allocations: 59.59 MB / 454.2 MB, free: 0.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.SetPoints.Examples.OccupancySchedule): time 0.2364/0.3877, allocations: 1.485 MB / 455.7 MB, free: 39.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008537/0.3886, allocations: 465.5 kB / 456.2 MB, free: 39.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.407e-05/0.3887, allocations: 0 / 456.2 MB, free: 39.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.3888, allocations: 10.56 kB / 456.2 MB, free: 39.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.389, allocations: 15.91 kB / 456.2 MB, free: 39.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005853/0.3896, allocations: 213.9 kB / 456.4 MB, free: 39.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.3899, allocations: 278.4 kB / 456.7 MB, free: 39.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.27e-05/0.3899, allocations: 9 kB / 456.7 MB, free: 39.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.3901, allocations: 120.6 kB / 456.8 MB, free: 39.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.3903, allocations: 99.36 kB / 456.9 MB, free: 39.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.504e-05/0.3903, allocations: 11.94 kB / 456.9 MB, free: 39.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.3904, allocations: 40.05 kB / 457 MB, free: 39.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.333e-05/0.3905, allocations: 20.17 kB / 457 MB, free: 39.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.3907, allocations: 100.5 kB / 457.1 MB, free: 39.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.391, allocations: 250.4 kB / 457.3 MB, free: 39.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.391, allocations: 1.281 kB / 457.3 MB, free: 39.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.391, allocations: 0 / 457.3 MB, free: 39.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.391, allocations: 1.5 kB / 457.3 MB, free: 39.39 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.0006188/0.3916, allocations: 0.5848 MB / 457.9 MB, free: 38.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.3917, allocations: 8.188 kB / 457.9 MB, free: 38.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.917e-05/0.3918, allocations: 31.56 kB / 457.9 MB, free: 38.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.3921, allocations: 240.2 kB / 458.2 MB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.3921, allocations: 17.16 kB / 458.2 MB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.035e-05/0.3922, allocations: 28.33 kB / 458.2 MB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.3925, allocations: 186.5 kB / 458.4 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3925, allocations: 192 / 458.4 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.3925, allocations: 9.344 kB / 458.4 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3925, allocations: 0.8125 kB / 458.4 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.3927, allocations: 96.75 kB / 458.5 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.393, allocations: 332.1 kB / 458.8 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.3932, allocations: 237.3 kB / 459.1 MB, free: 38.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.3934, allocations: 186 kB / 459.3 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.3935, allocations: 4.375 kB / 459.3 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004111/0.3939, allocations: 335.4 kB / 459.6 MB, free: 38.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.203e-06/0.3939, allocations: 0.5 kB / 459.6 MB, free: 38.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006948/0.3946, allocations: 481.4 kB / 460.1 MB, free: 37.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.784e-05/0.3947, allocations: 317.1 kB / 460.4 MB, free: 37.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.864e-05/0.3948, allocations: 152.3 kB / 460.5 MB, free: 37.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.608e-05/0.3948, allocations: 44.77 kB / 460.6 MB, free: 37.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.413e-05/0.3949, allocations: 107.7 kB / 460.7 MB, free: 37.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.021e-05/0.395, allocations: 61.83 kB / 460.7 MB, free: 37.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.3951, allocations: 92.3 kB / 460.8 MB, free: 37.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.838e-05/0.3952, allocations: 332.4 kB / 461.1 MB, free: 36.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002739/0.3955, allocations: 186.5 kB / 461.3 MB, free: 36.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.3957, allocations: 236.9 kB / 461.5 MB, free: 36.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.3961, allocations: 430.1 kB / 462 MB, free: 36.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3961, allocations: 2.062 kB / 462 MB, free: 36.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009247/0.3971, allocations: 0.8285 MB / 462.8 MB, free: 36.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.068e-05/0.3972, allocations: 155.7 kB / 463 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.3972, allocations: 0 / 463 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.3972, allocations: 2.875 kB / 463 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.3973, allocations: 10.12 kB / 463 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3973, allocations: 3.328 kB / 463 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00061/0.3979, allocations: 115.1 kB / 463.1 MB, free: 36.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-05/0.398, allocations: 26.39 kB / 463.1 MB, free: 36.01 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.000182/0.3982, allocations: 238.3 kB / 463.3 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.3982, allocations: 31.81 kB / 463.4 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.073e-05/0.3983, allocations: 11.62 kB / 463.4 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.3983, allocations: 0 / 463.4 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3983, allocations: 7.75 kB / 463.4 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3983, allocations: 0 / 463.4 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.3985, allocations: 250.9 kB / 463.6 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3985, allocations: 2.906 kB / 463.6 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-05/0.3985, allocations: 4.906 kB / 463.6 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3985, allocations: 3.938 kB / 463.6 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.3986, allocations: 19.94 kB / 463.7 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3986, allocations: 3.094 kB / 463.7 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3986, allocations: 0 / 463.7 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004934/0.3991, allocations: 482.4 kB / 464.1 MB, free: 35.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.175e-05/0.3991, allocations: 98.23 kB / 464.2 MB, free: 35.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.3992, allocations: 23.09 kB / 464.3 MB, free: 35.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003551/0.3995, allocations: 49.97 kB / 464.3 MB, free: 35.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/0.3996, allocations: 13.62 kB / 464.3 MB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.3997, allocations: 20.92 kB / 464.3 MB, free: 35.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.504e-05/0.3997, allocations: 114 kB / 464.5 MB, free: 35.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3997, allocations: 4 kB / 464.5 MB, free: 35.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003042/0.4, allocations: 84.44 kB / 464.5 MB, free: 35.09 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.0001701/0.4002, allocations: 137.3 kB / 464.7 MB, free: 34.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007899/0.401, allocations: 0.8743 MB / 465.5 MB, free: 34.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.401, allocations: 0 / 465.5 MB, free: 34.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003948/0.4014, allocations: 0.5635 MB / 466.1 MB, free: 34.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.4016, allocations: 29.31 kB / 466.1 MB, free: 34.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000657/0.4023, allocations: 441 kB / 466.6 MB, free: 33.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.4025, allocations: 0.7115 MB / 467.3 MB, free: 33.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.537e-05/0.4025, allocations: 6.859 kB / 467.3 MB, free: 33.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.4025, allocations: 13 kB / 467.3 MB, free: 33.05 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4025, allocations: 0 / 467.3 MB, free: 33.05 MB / 382.1 MB Notification: Performance of Templates: time 0.006371/0.4089, allocations: 3.845 MB / 471.1 MB, free: 32.73 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)