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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 117.2 kB / 17.81 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 189.5 kB / 20.74 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 225.6 MB / 249.1 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.796/0.796, allocations: 128.4 MB / 432.4 MB, free: 13.28 MB / 350.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 71.83 kB / 0.5987 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3612, allocations: 83.25 MB / 0.68 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002028/0.3632, allocations: 1.411 MB / 0.6814 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007033/0.3639, allocations: 0.501 MB / 0.6819 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.136e-05/0.364, allocations: 1.219 kB / 0.6819 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.947e-05/0.364, allocations: 5.281 kB / 0.6819 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.741e-05/0.3641, allocations: 18.44 kB / 0.6819 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006509/0.3647, allocations: 230 kB / 0.6821 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.3649, allocations: 144.8 kB / 0.6822 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.798e-05/0.365, allocations: 11.02 kB / 0.6822 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.752e-05/0.365, allocations: 55.7 kB / 0.6823 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.991e-05/0.3651, allocations: 42.48 kB / 0.6823 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.3651, allocations: 10.88 kB / 0.6824 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002301/0.3654, allocations: 174.8 kB / 0.6825 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.229e-05/0.3654, allocations: 42.52 kB / 0.6826 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.283e-05/0.3655, allocations: 47.02 kB / 0.6826 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.3657, allocations: 227.1 kB / 0.6828 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3658, allocations: 8.969 kB / 0.6828 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3658, allocations: 0 / 0.6828 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3658, allocations: 3.938 kB / 0.6828 GB, free: 4.922 MB / 0.4981 GB 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.0004611/0.3662, allocations: 450.4 kB / 0.6833 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.3663, allocations: 10.34 kB / 0.6833 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.3663, allocations: 20.59 kB / 0.6833 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.3665, allocations: 206.5 kB / 0.6835 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.3665, allocations: 5.156 kB / 0.6835 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.3665, allocations: 17.55 kB / 0.6835 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3666, allocations: 83.55 kB / 0.6836 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3667, allocations: 192 / 0.6836 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.3667, allocations: 5.156 kB / 0.6836 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3667, allocations: 1.031 kB / 0.6836 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.778e-05/0.3667, allocations: 38.08 kB / 0.6836 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.3669, allocations: 233.8 kB / 0.6839 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.122e-05/0.367, allocations: 80.25 kB / 0.6839 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.183e-05/0.3671, allocations: 49.78 kB / 0.684 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.3671, allocations: 1 kB / 0.684 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.3672, allocations: 115.6 kB / 0.6841 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 9.11e-07/0.3672, allocations: 3.938 kB / 0.6841 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003137/0.3676, allocations: 199.3 kB / 0.6843 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.3676, allocations: 82.45 kB / 0.6844 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.889e-05/0.3677, allocations: 147.7 kB / 0.6845 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.3677, allocations: 33.83 kB / 0.6845 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.3678, allocations: 107 kB / 0.6846 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.3678, allocations: 40.91 kB / 0.6847 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.845e-05/0.3679, allocations: 48.67 kB / 0.6847 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.146e-05/0.3679, allocations: 322.8 kB / 0.685 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.109e-05/0.368, allocations: 41.02 kB / 0.6851 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.3681, allocations: 207.8 kB / 0.6853 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.3682, allocations: 97.5 kB / 0.6854 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3682, allocations: 3.984 kB / 0.6854 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001975/0.3684, allocations: 158.6 kB / 0.6855 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.3684, allocations: 9.188 kB / 0.6855 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.3685, allocations: 2.375 kB / 0.6855 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3685, allocations: 6.031 kB / 0.6855 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.099e-05/0.3686, allocations: 9.984 kB / 0.6855 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.3686, allocations: 1.375 kB / 0.6855 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.3688, allocations: 77.48 kB / 0.6856 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.3688, allocations: 8.5 kB / 0.6856 GB, free: 2.438 MB / 0.4981 GB 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 7.863e-05/0.3689, allocations: 135.3 kB / 0.6858 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.3689, allocations: 17.44 kB / 0.6858 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.3689, allocations: 11.78 kB / 0.6858 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3689, allocations: 1.031 kB / 0.6858 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3689, allocations: 9.062 kB / 0.6858 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3689, allocations: 1.062 kB / 0.6858 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.985e-05/0.369, allocations: 186.1 kB / 0.686 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.369, allocations: 4.969 kB / 0.686 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.08e-05/0.3691, allocations: 6.156 kB / 0.686 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3691, allocations: 5.656 kB / 0.686 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-06/0.3691, allocations: 5.406 kB / 0.686 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3691, allocations: 3.984 kB / 0.686 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3691, allocations: 1.625 kB / 0.686 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.3693, allocations: 187.4 kB / 0.6862 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.3693, allocations: 92.31 kB / 0.6863 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.3693, allocations: 2.344 kB / 0.6863 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.81e-05/0.3694, allocations: 2.094 kB / 0.6863 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.3694, allocations: 11.33 kB / 0.6863 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.3694, allocations: 2.219 kB / 0.6863 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.146e-05/0.3694, allocations: 114.7 kB / 0.6864 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.3694, allocations: 4 kB / 0.6864 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002783/0.3697, allocations: 72.73 kB / 0.6865 GB, free: 1.699 MB / 0.4981 GB 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.0001998/0.3699, allocations: 171.8 kB / 0.6866 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002203/0.3701, allocations: 155.2 kB / 0.6868 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3701, allocations: 0 / 0.6868 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.841e-05/0.3702, allocations: 40.58 kB / 0.6868 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.3704, allocations: 14.42 kB / 0.6868 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.3707, allocations: 259.1 kB / 0.6871 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.3708, allocations: 0.7015 MB / 0.6878 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.3708, allocations: 12.78 kB / 0.6878 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.3708, allocations: 0 / 0.6878 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of Templates: time 0.004275/0.3751, allocations: 2.44 MB / 0.6902 GB, free: 15.28 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.468081863131374] Failed to read output from testmodel.py, exit status != 0: 0.3828012200538069 0.395105798 0.02671961 Calling exit ...