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.00101/0.00101, allocations: 112.4 kB / 17.04 MB, free: 5.797 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.0009873/0.0009874, allocations: 195 kB / 17.98 MB, free: 5.02 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.301/1.301, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6885/0.6885, allocations: 115.1 MB / 407 MB, free: 6.301 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 67.91 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3233, allocations: 76.16 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002222/0.3256, allocations: 1.388 MB / 0.5589 GB, free: 35.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007566/0.3263, allocations: 0.499 MB / 0.5594 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.254e-05/0.3264, allocations: 0 / 0.5594 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.76e-05/0.3264, allocations: 10.02 kB / 0.5594 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.869e-05/0.3265, allocations: 11.77 kB / 0.5594 GB, free: 35.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006535/0.3272, allocations: 233.3 kB / 0.5597 GB, free: 35.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.3274, allocations: 142.9 kB / 0.5598 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.57e-05/0.3274, allocations: 6.672 kB / 0.5598 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.388e-05/0.3275, allocations: 59.98 kB / 0.5599 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.573e-05/0.3276, allocations: 42.14 kB / 0.5599 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.3276, allocations: 10.25 kB / 0.5599 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.3278, allocations: 173.2 kB / 0.5601 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.403e-05/0.3279, allocations: 33.95 kB / 0.5601 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.013e-05/0.328, allocations: 54.61 kB / 0.5602 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.3283, allocations: 229.5 kB / 0.5604 GB, free: 34.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3283, allocations: 1.594 kB / 0.5604 GB, free: 34.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3283, allocations: 0 / 0.5604 GB, free: 34.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.3283, allocations: 1.188 kB / 0.5604 GB, free: 34.95 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.0004704/0.3288, allocations: 452.3 kB / 0.5608 GB, free: 34.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.3288, allocations: 10.03 kB / 0.5608 GB, free: 34.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.3289, allocations: 12.97 kB / 0.5608 GB, free: 34.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.3291, allocations: 210 kB / 0.561 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.3291, allocations: 6.156 kB / 0.561 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.3291, allocations: 17.59 kB / 0.5611 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.3293, allocations: 80.89 kB / 0.5611 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3293, allocations: 1.031 kB / 0.5611 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.3293, allocations: 6.141 kB / 0.5611 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.3293, allocations: 0 / 0.5611 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.039e-05/0.3294, allocations: 42.5 kB / 0.5612 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002121/0.3296, allocations: 229.1 kB / 0.5614 GB, free: 34.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.3298, allocations: 81.11 kB / 0.5615 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.217e-05/0.3298, allocations: 54.25 kB / 0.5615 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.3299, allocations: 6.109 kB / 0.5615 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.33, allocations: 116.9 kB / 0.5616 GB, free: 33.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.33, allocations: 0 / 0.5616 GB, free: 33.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003345/0.3304, allocations: 190.1 kB / 0.5618 GB, free: 33.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.3304, allocations: 95.77 kB / 0.5619 GB, free: 33.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.3306, allocations: 149.9 kB / 0.5621 GB, free: 33.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.3306, allocations: 39.53 kB / 0.5621 GB, free: 33.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.3306, allocations: 98.92 kB / 0.5622 GB, free: 33.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.3307, allocations: 35.94 kB / 0.5622 GB, free: 33.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-05/0.3308, allocations: 48.36 kB / 0.5623 GB, free: 33.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.445e-05/0.3308, allocations: 328.9 kB / 0.5626 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.642e-05/0.3309, allocations: 41.27 kB / 0.5626 GB, free: 33.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.3311, allocations: 203.4 kB / 0.5628 GB, free: 32.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.3313, allocations: 93.03 kB / 0.5629 GB, free: 32.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3313, allocations: 0 / 0.5629 GB, free: 32.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002405/0.3315, allocations: 170.5 kB / 0.5631 GB, free: 32.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3315, allocations: 5.984 kB / 0.5631 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.3316, allocations: 3.062 kB / 0.5631 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3316, allocations: 1.922 kB / 0.5631 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.999e-05/0.3317, allocations: 12.2 kB / 0.5631 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3317, allocations: 1.562 kB / 0.5631 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.332, allocations: 79.31 kB / 0.5632 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.332, allocations: 2.719 kB / 0.5632 GB, free: 32.71 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.0001063/0.3321, allocations: 132.7 kB / 0.5633 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.3321, allocations: 14.12 kB / 0.5633 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.3322, allocations: 16.22 kB / 0.5633 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3322, allocations: 1.25 kB / 0.5633 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3322, allocations: 0 / 0.5633 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.3322, allocations: 2.234 kB / 0.5633 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.3323, allocations: 202.2 kB / 0.5635 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3323, allocations: 3.938 kB / 0.5635 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/0.3324, allocations: 7.375 kB / 0.5635 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.3324, allocations: 7.844 kB / 0.5635 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3324, allocations: 6.094 kB / 0.5635 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3324, allocations: 2.109 kB / 0.5636 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3324, allocations: 0 / 0.5636 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.3326, allocations: 179.3 kB / 0.5637 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.3327, allocations: 89.52 kB / 0.5638 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.3327, allocations: 1.703 kB / 0.5638 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.018e-05/0.3328, allocations: 8.781 kB / 0.5638 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.3328, allocations: 5.953 kB / 0.5638 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.3328, allocations: 3.516 kB / 0.5638 GB, free: 32.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.296e-05/0.3329, allocations: 118.7 kB / 0.5639 GB, free: 32.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3329, allocations: 0 / 0.5639 GB, free: 32.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003092/0.3332, allocations: 75.3 kB / 0.564 GB, free: 32.03 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.0002287/0.3335, allocations: 164.4 kB / 0.5642 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.3337, allocations: 166.9 kB / 0.5643 GB, free: 31.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3337, allocations: 1.156 kB / 0.5643 GB, free: 31.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.695e-05/0.3338, allocations: 43.42 kB / 0.5644 GB, free: 31.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.334, allocations: 13.11 kB / 0.5644 GB, free: 31.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.3343, allocations: 230.4 kB / 0.5646 GB, free: 31.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.3345, allocations: 0.7108 MB / 0.5653 GB, free: 30.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.121e-05/0.3345, allocations: 8.484 kB / 0.5653 GB, free: 30.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.135e-05/0.3346, allocations: 13.88 kB / 0.5653 GB, free: 30.93 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3346, allocations: 1.188 kB / 0.5653 GB, free: 30.93 MB / 446.1 MB Notification: Performance of Templates: time 0.005489/0.34, allocations: 2.512 MB / 0.5678 GB, free: 30.77 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)