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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 183.4 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5444/0.5444, allocations: 92 MB / 108.5 MB, free: 13.04 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.804/1.804, allocations: 223.2 MB / 354.3 MB, free: 10.45 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 103.4 kB / 427.4 MB, free: 2.156 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 4 kB / 0.4982 GB, free: 42.09 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1809, allocations: 72.32 MB / 0.5689 GB, free: 1.715 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6167/0.7977, allocations: 101.9 MB / 0.6684 GB, free: 2.5 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.798, allocations: 75.95 kB / 0.6685 GB, free: 2.426 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01182/0.8099, allocations: 3.983 MB / 0.6724 GB, free: 14.45 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.8099, allocations: 0 / 0.6724 GB, free: 14.45 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.8099, allocations: 4 kB / 0.6724 GB, free: 14.45 MB / 474.7 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.0006391/0.8106, allocations: 431.5 kB / 0.6728 GB, free: 13.98 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.8106, allocations: 12.03 kB / 0.6728 GB, free: 13.97 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.406e-05/0.8107, allocations: 19.77 kB / 0.6728 GB, free: 13.95 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.8111, allocations: 210.9 kB / 0.673 GB, free: 13.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.8111, allocations: 6.938 kB / 0.673 GB, free: 13.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.744e-05/0.8112, allocations: 12 kB / 0.673 GB, free: 13.69 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.8114, allocations: 87.36 kB / 0.6731 GB, free: 13.59 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.8114, allocations: 7.891 kB / 0.6731 GB, free: 13.58 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.8114, allocations: 4 kB / 0.6731 GB, free: 13.58 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.8115, allocations: 11.94 kB / 0.6731 GB, free: 13.57 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.519e-05/0.8116, allocations: 39.91 kB / 0.6732 GB, free: 13.53 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.8119, allocations: 242.4 kB / 0.6734 GB, free: 13.24 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.8121, allocations: 85.17 kB / 0.6735 GB, free: 13.14 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.8121, allocations: 4 kB / 0.6735 GB, free: 13.13 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.8123, allocations: 117.2 kB / 0.6736 GB, free: 13 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.8123, allocations: 0 / 0.6736 GB, free: 13 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005198/0.8128, allocations: 359.6 kB / 0.6739 GB, free: 12.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.8129, allocations: 85.11 kB / 0.674 GB, free: 12.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.813, allocations: 139.6 kB / 0.6741 GB, free: 12.36 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.694e-05/0.8131, allocations: 37.7 kB / 0.6742 GB, free: 12.32 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.8132, allocations: 104.6 kB / 0.6743 GB, free: 12.21 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.858e-05/0.8132, allocations: 35.53 kB / 0.6743 GB, free: 12.18 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-06/0.8133, allocations: 8 kB / 0.6743 GB, free: 12.17 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.8134, allocations: 318.8 kB / 0.6746 GB, free: 11.85 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.152e-05/0.8135, allocations: 48.09 kB / 0.6747 GB, free: 11.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.8138, allocations: 213.5 kB / 0.6749 GB, free: 11.53 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.8139, allocations: 78.61 kB / 0.675 GB, free: 11.46 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.8139, allocations: 0 / 0.675 GB, free: 11.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000246/0.8141, allocations: 165.9 kB / 0.6751 GB, free: 11.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.8142, allocations: 7.953 kB / 0.6751 GB, free: 11.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/0.8142, allocations: 4 kB / 0.6751 GB, free: 11.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.8142, allocations: 7.938 kB / 0.6751 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.292e-05/0.8143, allocations: 11.98 kB / 0.6751 GB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.8143, allocations: 4 kB / 0.6751 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.8146, allocations: 79.91 kB / 0.6752 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.8147, allocations: 12.16 kB / 0.6752 GB, free: 11.16 MB / 474.7 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 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.8148, allocations: 137.8 kB / 0.6754 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.8148, allocations: 15.81 kB / 0.6754 GB, free: 11 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/0.8149, allocations: 12.67 kB / 0.6754 GB, free: 10.99 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.8149, allocations: 4 kB / 0.6754 GB, free: 10.98 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.8149, allocations: 0 / 0.6754 GB, free: 10.98 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.8149, allocations: 0 / 0.6754 GB, free: 10.98 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.8151, allocations: 201.5 kB / 0.6756 GB, free: 10.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8151, allocations: 8 kB / 0.6756 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.329e-05/0.8151, allocations: 4 kB / 0.6756 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.8151, allocations: 0 / 0.6756 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.8152, allocations: 8 kB / 0.6756 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.8152, allocations: 3.953 kB / 0.6756 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.8152, allocations: 3.984 kB / 0.6756 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.8155, allocations: 215.4 kB / 0.6758 GB, free: 10.47 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.697e-05/0.8156, allocations: 85 kB / 0.6759 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.8156, allocations: 11.89 kB / 0.6759 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.317e-05/0.8156, allocations: 4 kB / 0.6759 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.8157, allocations: 3.984 kB / 0.6759 GB, free: 10.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.8157, allocations: 12 kB / 0.6759 GB, free: 10.34 MB / 474.7 MB Notification: Performance of sorting global known variables: time 9.322e-05/0.8158, allocations: 109.1 kB / 0.676 GB, free: 10.23 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8158, allocations: 0 / 0.676 GB, free: 10.23 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000437/0.8163, allocations: 83.88 kB / 0.6761 GB, free: 10.15 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000312/0.8166, allocations: 175.1 kB / 0.6763 GB, free: 9.973 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002868/0.8169, allocations: 167.3 kB / 0.6764 GB, free: 9.797 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.8169, allocations: 4 kB / 0.6764 GB, free: 9.793 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.58e-05/0.817, allocations: 43.92 kB / 0.6765 GB, free: 9.75 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.8171, allocations: 7.859 kB / 0.6765 GB, free: 9.742 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.8176, allocations: 239.1 kB / 0.6767 GB, free: 9.48 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.8179, allocations: 0.7121 MB / 0.6774 GB, free: 8.742 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.336e-05/0.818, allocations: 12.67 kB / 0.6774 GB, free: 8.727 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.818, allocations: 11.44 kB / 0.6774 GB, free: 8.715 MB / 474.7 MB Notification: Performance of SimCode: time 3.11e-07/0.818, allocations: 0 / 0.6774 GB, free: 8.715 MB / 474.7 MB Notification: Performance of Templates: time 0.00534/0.8234, allocations: 2.296 MB / 0.6797 GB, free: 6.449 MB / 474.7 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)