Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001124/0.001124, allocations: 117.8 kB / 17.09 MB, free: 6.016 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.001191/0.001191, allocations: 196.7 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7013/0.7013, allocations: 115.3 MB / 407.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.27 kB / 0.5583 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1452, allocations: 76.18 MB / 0.6327 GB, free: 4.484 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002507/0.1478, allocations: 1.402 MB / 0.6341 GB, free: 3.07 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009437/0.1488, allocations: 0.4983 MB / 0.6346 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.347e-05/0.1488, allocations: 0 / 0.6346 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 7.337e-05/0.1489, allocations: 11.92 kB / 0.6346 GB, free: 2.559 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.668e-05/0.149, allocations: 7.875 kB / 0.6346 GB, free: 2.551 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007857/0.1498, allocations: 229.2 kB / 0.6348 GB, free: 2.328 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.15, allocations: 147.8 kB / 0.6349 GB, free: 2.184 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.15, allocations: 4 kB / 0.6349 GB, free: 2.18 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.236e-05/0.1501, allocations: 63.83 kB / 0.635 GB, free: 2.117 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.132e-05/0.1502, allocations: 35.91 kB / 0.635 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.1503, allocations: 8 kB / 0.635 GB, free: 2.074 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002687/0.1505, allocations: 171.8 kB / 0.6352 GB, free: 1.906 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.601e-05/0.1506, allocations: 39.91 kB / 0.6352 GB, free: 1.867 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.989e-05/0.1507, allocations: 51.73 kB / 0.6353 GB, free: 1.816 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.151, allocations: 231.4 kB / 0.6355 GB, free: 1.59 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1511, allocations: 4 kB / 0.6355 GB, free: 1.586 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1511, allocations: 4 kB / 0.6355 GB, free: 1.582 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.1511, allocations: 0 / 0.6355 GB, free: 1.582 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005732/0.1517, allocations: 443 kB / 0.6359 GB, free: 1.098 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1517, allocations: 8.031 kB / 0.6359 GB, free: 1.09 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.1518, allocations: 16.78 kB / 0.636 GB, free: 1.074 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.152, allocations: 216 kB / 0.6362 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.152, allocations: 8.375 kB / 0.6362 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.152, allocations: 12.38 kB / 0.6362 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.1522, allocations: 83.95 kB / 0.6363 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.1522, allocations: 192 / 0.6363 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1522, allocations: 3.938 kB / 0.6363 GB, free: 0.707 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1522, allocations: 3.984 kB / 0.6363 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.583e-05/0.1523, allocations: 43.91 kB / 0.6363 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002181/0.1525, allocations: 226.5 kB / 0.6365 GB, free: 396 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.1527, allocations: 85.17 kB / 0.6366 GB, free: 292 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.282e-05/0.1528, allocations: 57.81 kB / 0.6367 GB, free: 228 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.1528, allocations: 0 / 0.6367 GB, free: 228 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.153, allocations: 105.1 kB / 0.6368 GB, free: 104 kB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.153, allocations: 4 kB / 0.6368 GB, free: 100 kB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003421/0.1533, allocations: 197.2 kB / 0.637 GB, free: 15.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.1534, allocations: 93.09 kB / 0.6371 GB, free: 15.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.1535, allocations: 147.7 kB / 0.6372 GB, free: 15.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.1536, allocations: 33.7 kB / 0.6372 GB, free: 15.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.1536, allocations: 108.4 kB / 0.6373 GB, free: 15.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/0.1537, allocations: 35.55 kB / 0.6374 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/0.1538, allocations: 49.7 kB / 0.6374 GB, free: 15.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1539, allocations: 330.8 kB / 0.6377 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.237e-05/0.1539, allocations: 39.97 kB / 0.6378 GB, free: 15.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.1541, allocations: 201.8 kB / 0.638 GB, free: 14.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.1543, allocations: 97.62 kB / 0.6381 GB, free: 14.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1543, allocations: 4 kB / 0.6381 GB, free: 14.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002267/0.1545, allocations: 161.3 kB / 0.6382 GB, free: 14.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1545, allocations: 8 kB / 0.6382 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.1546, allocations: 0 / 0.6382 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1546, allocations: 4 kB / 0.6382 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.653e-05/0.1547, allocations: 15.92 kB / 0.6382 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.1547, allocations: 4 kB / 0.6382 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.155, allocations: 75.12 kB / 0.6383 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.155, allocations: 8 kB / 0.6383 GB, free: 14.39 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001061/0.1551, allocations: 133.8 kB / 0.6384 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.1551, allocations: 15.84 kB / 0.6385 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.1552, allocations: 12.72 kB / 0.6385 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1552, allocations: 0 / 0.6385 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1552, allocations: 0 / 0.6385 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.1552, allocations: 7.922 kB / 0.6385 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.1553, allocations: 189.5 kB / 0.6387 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1553, allocations: 3.938 kB / 0.6387 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.1554, allocations: 8 kB / 0.6387 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1554, allocations: 7.984 kB / 0.6387 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1554, allocations: 4 kB / 0.6387 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.1554, allocations: 0 / 0.6387 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1554, allocations: 3.938 kB / 0.6387 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.1556, allocations: 177.9 kB / 0.6389 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.1557, allocations: 96.88 kB / 0.6389 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.1557, allocations: 0 / 0.6389 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.381e-05/0.1557, allocations: 15.92 kB / 0.639 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.1558, allocations: 8 kB / 0.639 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1558, allocations: 0 / 0.639 GB, free: 13.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.983e-05/0.1559, allocations: 111.9 kB / 0.6391 GB, free: 13.51 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1559, allocations: 0 / 0.6391 GB, free: 13.51 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003025/0.1562, allocations: 79.98 kB / 0.6392 GB, free: 13.43 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002208/0.1564, allocations: 163.1 kB / 0.6393 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002516/0.1567, allocations: 163.3 kB / 0.6395 GB, free: 13.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1567, allocations: 4 kB / 0.6395 GB, free: 13.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.161e-05/0.1568, allocations: 43.92 kB / 0.6395 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.1569, allocations: 7.938 kB / 0.6395 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000397/0.1573, allocations: 257.1 kB / 0.6398 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.1576, allocations: 0.7041 MB / 0.6405 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.1576, allocations: 15.44 kB / 0.6405 GB, free: 12.01 MB / 494.1 MB Notification: Performance of SimCode: time 2.254e-06/0.1576, allocations: 0 / 0.6405 GB, free: 12.01 MB / 494.1 MB Notification: Performance of Templates: time 0.004271/0.1619, allocations: 2.46 MB / 0.6429 GB, free: 9.566 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)