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.001068/0.001069, allocations: 102.1 kB / 15.98 MB, free: 5.871 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.001141/0.001141, allocations: 200 kB / 16.91 MB, free: 5.738 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7371/0.7371, allocations: 122.9 MB / 413.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 65.12 kB / 0.4906 GB, free: 14.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1464, allocations: 77.94 MB / 0.5667 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002363/0.1488, allocations: 1.47 MB / 0.5682 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007991/0.1497, allocations: 498.3 kB / 0.5686 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.1497, allocations: 0 / 0.5686 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.816e-05/0.1498, allocations: 3.984 kB / 0.5686 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.779e-05/0.1498, allocations: 15.92 kB / 0.5687 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006463/0.1505, allocations: 214.8 kB / 0.5689 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.1507, allocations: 147.8 kB / 0.569 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.1508, allocations: 8 kB / 0.569 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.45e-05/0.1508, allocations: 59.83 kB / 0.5691 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.854e-05/0.1509, allocations: 35.91 kB / 0.5691 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.1509, allocations: 12 kB / 0.5691 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002346/0.1512, allocations: 175.8 kB / 0.5693 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.617e-05/0.1513, allocations: 39.89 kB / 0.5693 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.065e-05/0.1513, allocations: 51.73 kB / 0.5694 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.1516, allocations: 235.7 kB / 0.5696 GB, free: 13.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1517, allocations: 0 / 0.5696 GB, free: 13.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1517, allocations: 0 / 0.5696 GB, free: 13.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.1517, allocations: 0 / 0.5696 GB, free: 13.62 MB / 446.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.0005738/0.1523, allocations: 447 kB / 0.57 GB, free: 13.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1523, allocations: 8.031 kB / 0.57 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.1523, allocations: 12.84 kB / 0.57 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.1526, allocations: 216.1 kB / 0.5702 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1526, allocations: 8.375 kB / 0.5703 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.1526, allocations: 16.31 kB / 0.5703 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.1528, allocations: 83.89 kB / 0.5703 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1528, allocations: 192 / 0.5703 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1528, allocations: 3.938 kB / 0.5704 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1528, allocations: 4 kB / 0.5704 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.15e-05/0.1529, allocations: 39.97 kB / 0.5704 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002269/0.1531, allocations: 238.4 kB / 0.5706 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.1532, allocations: 77.19 kB / 0.5707 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.559e-05/0.1533, allocations: 57.75 kB / 0.5707 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.1533, allocations: 4 kB / 0.5708 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.1535, allocations: 113 kB / 0.5709 GB, free: 12.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.1535, allocations: 0 / 0.5709 GB, free: 12.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003241/0.1539, allocations: 181.4 kB / 0.571 GB, free: 11.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.1539, allocations: 93.09 kB / 0.5711 GB, free: 11.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.1541, allocations: 151.5 kB / 0.5713 GB, free: 11.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.1541, allocations: 33.7 kB / 0.5713 GB, free: 11.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.1542, allocations: 100.5 kB / 0.5714 GB, free: 11.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.1542, allocations: 35.45 kB / 0.5714 GB, free: 11.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-05/0.1543, allocations: 53.69 kB / 0.5715 GB, free: 11.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1544, allocations: 330.8 kB / 0.5718 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.333e-05/0.1545, allocations: 39.98 kB / 0.5718 GB, free: 11.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.1547, allocations: 199.3 kB / 0.572 GB, free: 10.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.1548, allocations: 89.7 kB / 0.5721 GB, free: 10.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1548, allocations: 4 kB / 0.5721 GB, free: 10.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002213/0.155, allocations: 173.3 kB / 0.5723 GB, free: 10.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1551, allocations: 8 kB / 0.5723 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.1551, allocations: 3.984 kB / 0.5723 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1551, allocations: 4 kB / 0.5723 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.825e-05/0.1552, allocations: 4 kB / 0.5723 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1552, allocations: 4 kB / 0.5723 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.1555, allocations: 75.75 kB / 0.5724 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.1555, allocations: 4 kB / 0.5724 GB, free: 10.44 MB / 446.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.0001114/0.1556, allocations: 134.5 kB / 0.5725 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.1556, allocations: 15.84 kB / 0.5725 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.1557, allocations: 12.7 kB / 0.5725 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1557, allocations: 12.08 kB / 0.5725 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1557, allocations: 0 / 0.5725 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1557, allocations: 0 / 0.5725 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.1558, allocations: 189.5 kB / 0.5727 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1558, allocations: 7.938 kB / 0.5727 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.323e-05/0.1559, allocations: 7.984 kB / 0.5727 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1559, allocations: 0 / 0.5727 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1559, allocations: 4 kB / 0.5727 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1559, allocations: 0 / 0.5727 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1559, allocations: 0 / 0.5727 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.1561, allocations: 186.4 kB / 0.5729 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/0.1562, allocations: 96.8 kB / 0.573 GB, free: 9.688 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.1562, allocations: 4 kB / 0.573 GB, free: 9.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.25e-05/0.1563, allocations: 7.984 kB / 0.573 GB, free: 9.676 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.1563, allocations: 0 / 0.573 GB, free: 9.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.1563, allocations: 7.938 kB / 0.573 GB, free: 9.668 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.892e-05/0.1564, allocations: 117.7 kB / 0.5731 GB, free: 9.555 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1564, allocations: 4 kB / 0.5731 GB, free: 9.551 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.1567, allocations: 71.98 kB / 0.5732 GB, free: 9.48 MB / 446.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.0002064/0.1569, allocations: 167.2 kB / 0.5734 GB, free: 9.309 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.1572, allocations: 166.7 kB / 0.5735 GB, free: 9.137 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1572, allocations: 0 / 0.5735 GB, free: 9.137 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.731e-05/0.1572, allocations: 47.92 kB / 0.5736 GB, free: 9.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.1574, allocations: 13.84 kB / 0.5736 GB, free: 9.078 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003742/0.1578, allocations: 251.9 kB / 0.5738 GB, free: 8.805 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.1581, allocations: 0.7079 MB / 0.5745 GB, free: 8.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.528e-05/0.1581, allocations: 12.66 kB / 0.5745 GB, free: 8.055 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.284e-05/0.1581, allocations: 11.44 kB / 0.5745 GB, free: 8.043 MB / 446.1 MB Notification: Performance of SimCode: time 1.733e-06/0.1581, allocations: 0 / 0.5745 GB, free: 8.043 MB / 446.1 MB Notification: Performance of Templates: time 0.004871/0.163, allocations: 2.474 MB / 0.577 GB, free: 5.602 MB / 446.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)