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.001133/0.001133, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5288/0.5288, allocations: 90.91 MB / 99.34 MB, free: 2.223 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 221.5 MB / 343.2 MB, free: 1.594 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 94.28 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.415e-05/1.414e-05, allocations: 0 / 494.5 MB, free: 52.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1611, allocations: 72.32 MB / 0.5535 GB, free: 12.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5491/0.7102, allocations: 101.2 MB / 0.6523 GB, free: 9.035 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.7105, allocations: 70.02 kB / 0.6524 GB, free: 8.996 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01128/0.7218, allocations: 3.94 MB / 0.6563 GB, free: 5.574 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.489e-06/0.7219, allocations: 0 / 0.6563 GB, free: 5.574 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.7219, allocations: 7.938 kB / 0.6563 GB, free: 5.566 MB / 458.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.0006257/0.7225, allocations: 424.8 kB / 0.6567 GB, free: 5.121 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.7226, allocations: 8.031 kB / 0.6567 GB, free: 5.113 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.827e-05/0.7227, allocations: 15.86 kB / 0.6567 GB, free: 5.098 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.723, allocations: 213.9 kB / 0.6569 GB, free: 4.855 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.723, allocations: 0 / 0.6569 GB, free: 4.855 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.723, allocations: 12 kB / 0.6569 GB, free: 4.844 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001133/0.7231, allocations: 37.67 kB / 0.6569 GB, free: 4.816 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.7233, allocations: 89.89 kB / 0.657 GB, free: 4.727 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.7233, allocations: 0 / 0.657 GB, free: 4.727 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.7233, allocations: 0 / 0.657 GB, free: 4.727 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.7234, allocations: 0 / 0.657 GB, free: 4.727 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.7236, allocations: 208 kB / 0.6572 GB, free: 4.508 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.7238, allocations: 86.55 kB / 0.6573 GB, free: 4.418 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.745e-05/0.7238, allocations: 56.19 kB / 0.6574 GB, free: 4.371 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.7239, allocations: 3.984 kB / 0.6574 GB, free: 4.367 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.7241, allocations: 114.5 kB / 0.6575 GB, free: 4.254 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.7241, allocations: 0 / 0.6575 GB, free: 4.254 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003974/0.7245, allocations: 165.2 kB / 0.6576 GB, free: 4.109 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.7246, allocations: 88.22 kB / 0.6577 GB, free: 4.008 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.7247, allocations: 136.6 kB / 0.6579 GB, free: 3.883 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.7247, allocations: 25.7 kB / 0.6579 GB, free: 3.852 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.7248, allocations: 98.39 kB / 0.658 GB, free: 3.762 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/0.7249, allocations: 34.17 kB / 0.658 GB, free: 3.734 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-06/0.7249, allocations: 0 / 0.658 GB, free: 3.734 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.725, allocations: 330 kB / 0.6583 GB, free: 3.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.773e-05/0.7251, allocations: 46.73 kB / 0.6584 GB, free: 3.371 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.7253, allocations: 208.2 kB / 0.6586 GB, free: 3.137 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.7255, allocations: 70.34 kB / 0.6586 GB, free: 3.086 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.7255, allocations: 0 / 0.6586 GB, free: 3.086 MB / 458.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002775/0.7258, allocations: 159.9 kB / 0.6588 GB, free: 2.945 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.7258, allocations: 4 kB / 0.6588 GB, free: 2.941 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.025e-05/0.7259, allocations: 19.44 kB / 0.6588 GB, free: 2.926 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.7259, allocations: 8 kB / 0.6588 GB, free: 2.918 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.382e-05/0.726, allocations: 4 kB / 0.6588 GB, free: 2.914 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.726, allocations: 4 kB / 0.6588 GB, free: 2.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002896/0.7263, allocations: 83.75 kB / 0.6589 GB, free: 2.828 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.7263, allocations: 4 kB / 0.6589 GB, free: 2.824 MB / 458.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 () * 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.0001846/0.7265, allocations: 116.5 kB / 0.659 GB, free: 2.707 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.7266, allocations: 11.89 kB / 0.659 GB, free: 2.695 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/0.7266, allocations: 16.19 kB / 0.659 GB, free: 2.684 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.7266, allocations: 7.953 kB / 0.659 GB, free: 2.676 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.7267, allocations: 0 / 0.659 GB, free: 2.676 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.7267, allocations: 0 / 0.659 GB, free: 2.676 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.7269, allocations: 171.5 kB / 0.6592 GB, free: 2.484 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.7269, allocations: 0 / 0.6592 GB, free: 2.484 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.193e-05/0.7269, allocations: 4 kB / 0.6592 GB, free: 2.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.7269, allocations: 4 kB / 0.6592 GB, free: 2.477 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.7269, allocations: 3.984 kB / 0.6592 GB, free: 2.473 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7269, allocations: 0 / 0.6592 GB, free: 2.473 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.727, allocations: 4 kB / 0.6592 GB, free: 2.469 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.7273, allocations: 206.6 kB / 0.6594 GB, free: 2.27 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-05/0.7274, allocations: 85.02 kB / 0.6595 GB, free: 2.168 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.7274, allocations: 3.984 kB / 0.6595 GB, free: 2.164 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.487e-05/0.7274, allocations: 4.875 kB / 0.6595 GB, free: 2.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.7275, allocations: 11.95 kB / 0.6595 GB, free: 2.148 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.7275, allocations: 11.73 kB / 0.6595 GB, free: 2.141 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.663e-05/0.7276, allocations: 107.8 kB / 0.6596 GB, free: 2.043 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7276, allocations: 0 / 0.6596 GB, free: 2.043 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003448/0.728, allocations: 83.11 kB / 0.6597 GB, free: 1.965 MB / 458.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) * 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.0002727/0.7282, allocations: 170.3 kB / 0.6599 GB, free: 1.793 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.7285, allocations: 154.5 kB / 0.66 GB, free: 1.652 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7285, allocations: 0 / 0.66 GB, free: 1.652 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.796e-05/0.7286, allocations: 49.12 kB / 0.6601 GB, free: 1.617 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.7287, allocations: 8 kB / 0.6601 GB, free: 1.609 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/0.7291, allocations: 158.8 kB / 0.6602 GB, free: 1.438 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.7294, allocations: 0.711 MB / 0.6609 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.061e-05/0.7295, allocations: 12.94 kB / 0.6609 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.7295, allocations: 15.44 kB / 0.661 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.7295, allocations: 0 / 0.661 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of Templates: time 0.005152/0.7347, allocations: 2.224 MB / 0.6631 GB, free: 14.5 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)