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.001472/0.001472, allocations: 104.3 kB / 16.52 MB, free: 6.27 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.001469/0.001469, allocations: 196 kB / 17.44 MB, free: 5.887 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.323/1.323, allocations: 222.9 MB / 241.1 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.74/0.74, allocations: 115.3 MB / 406.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 63.89 kB / 493.6 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3508, allocations: 76.17 MB / 0.5564 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002561/0.3534, allocations: 1.464 MB / 0.5578 GB, free: 34.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008721/0.3543, allocations: 0.5209 MB / 0.5583 GB, free: 34.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.006e-05/0.3543, allocations: 1.75 kB / 0.5583 GB, free: 34.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.683e-05/0.3544, allocations: 5.812 kB / 0.5583 GB, free: 34.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.108e-05/0.3545, allocations: 7.672 kB / 0.5583 GB, free: 34.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005564/0.3551, allocations: 191.9 kB / 0.5585 GB, free: 33.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.3552, allocations: 139.9 kB / 0.5586 GB, free: 33.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.3553, allocations: 7.25 kB / 0.5586 GB, free: 33.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.103e-05/0.3554, allocations: 48.91 kB / 0.5587 GB, free: 33.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.381e-05/0.3555, allocations: 41.23 kB / 0.5587 GB, free: 33.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.3555, allocations: 5.75 kB / 0.5587 GB, free: 33.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002789/0.3558, allocations: 166.5 kB / 0.5589 GB, free: 33.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.588e-05/0.3559, allocations: 28.3 kB / 0.5589 GB, free: 33.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.705e-05/0.356, allocations: 50.38 kB / 0.559 GB, free: 33.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.3562, allocations: 166 kB / 0.5591 GB, free: 33.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3562, allocations: 0 / 0.5591 GB, free: 33.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.3562, allocations: 1.531 kB / 0.5591 GB, free: 33.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.3562, allocations: 0 / 0.5591 GB, free: 33.71 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.0005328/0.3568, allocations: 451.5 kB / 0.5596 GB, free: 33.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3568, allocations: 13.06 kB / 0.5596 GB, free: 33.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.805e-05/0.3569, allocations: 12.44 kB / 0.5596 GB, free: 33.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.3571, allocations: 207.8 kB / 0.5598 GB, free: 33.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.3571, allocations: 5.562 kB / 0.5598 GB, free: 33.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.3571, allocations: 17.62 kB / 0.5598 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.3573, allocations: 85.62 kB / 0.5599 GB, free: 32.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3573, allocations: 1.656 kB / 0.5599 GB, free: 32.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.3573, allocations: 4.922 kB / 0.5599 GB, free: 32.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3573, allocations: 1.219 kB / 0.5599 GB, free: 32.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.396e-05/0.3574, allocations: 36.98 kB / 0.5599 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002007/0.3576, allocations: 225.5 kB / 0.5601 GB, free: 32.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.3577, allocations: 88.41 kB / 0.5602 GB, free: 32.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.981e-05/0.3578, allocations: 53.47 kB / 0.5603 GB, free: 32.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.3578, allocations: 3 kB / 0.5603 GB, free: 32.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.358, allocations: 110.2 kB / 0.5604 GB, free: 32.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.358, allocations: 0.6875 kB / 0.5604 GB, free: 32.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003438/0.3584, allocations: 195.8 kB / 0.5606 GB, free: 32.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.3584, allocations: 87.42 kB / 0.5607 GB, free: 32.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.3586, allocations: 154.5 kB / 0.5608 GB, free: 32.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.3586, allocations: 33.89 kB / 0.5608 GB, free: 32.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.3586, allocations: 104.6 kB / 0.5609 GB, free: 32.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.3587, allocations: 34.97 kB / 0.561 GB, free: 32.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.3588, allocations: 50.86 kB / 0.561 GB, free: 32.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.137e-05/0.3588, allocations: 327.1 kB / 0.5613 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.399e-05/0.3589, allocations: 42.94 kB / 0.5614 GB, free: 31.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.3591, allocations: 199.5 kB / 0.5616 GB, free: 31.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.3592, allocations: 101.1 kB / 0.5617 GB, free: 31.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3592, allocations: 1.125 kB / 0.5617 GB, free: 31.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002161/0.3594, allocations: 166.8 kB / 0.5618 GB, free: 31.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3595, allocations: 8.047 kB / 0.5618 GB, free: 31.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.3595, allocations: 2.906 kB / 0.5618 GB, free: 31.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3595, allocations: 1.75 kB / 0.5618 GB, free: 31.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.522e-05/0.3596, allocations: 8.719 kB / 0.5618 GB, free: 31.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3596, allocations: 1.156 kB / 0.5618 GB, free: 31.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.3599, allocations: 75.17 kB / 0.5619 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.3599, allocations: 5.094 kB / 0.5619 GB, free: 31.46 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 9.015e-05/0.36, allocations: 139.5 kB / 0.5621 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.36, allocations: 14.42 kB / 0.5621 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.3601, allocations: 15.94 kB / 0.5621 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3601, allocations: 2.625 kB / 0.5621 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3601, allocations: 4.844 kB / 0.5621 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3601, allocations: 1.125 kB / 0.5621 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.3602, allocations: 198.5 kB / 0.5623 GB, free: 31.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3602, allocations: 5.781 kB / 0.5623 GB, free: 31.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.353e-05/0.3602, allocations: 9.047 kB / 0.5623 GB, free: 31.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3603, allocations: 1.25 kB / 0.5623 GB, free: 31.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3603, allocations: 5.5 kB / 0.5623 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3603, allocations: 3.688 kB / 0.5623 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3603, allocations: 5.344 kB / 0.5623 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.3605, allocations: 176.8 kB / 0.5625 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.679e-05/0.3605, allocations: 89.23 kB / 0.5626 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.3606, allocations: 4.594 kB / 0.5626 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.103e-05/0.3606, allocations: 7.969 kB / 0.5626 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.3607, allocations: 5.578 kB / 0.5626 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3607, allocations: 3.031 kB / 0.5626 GB, free: 30.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.847e-05/0.3607, allocations: 115 kB / 0.5627 GB, free: 30.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3607, allocations: 0 / 0.5627 GB, free: 30.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.3611, allocations: 76.09 kB / 0.5628 GB, free: 30.78 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.0002276/0.3613, allocations: 167.7 kB / 0.5629 GB, free: 30.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000233/0.3615, allocations: 166 kB / 0.5631 GB, free: 30.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3616, allocations: 0.7188 kB / 0.5631 GB, free: 30.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.568e-05/0.3616, allocations: 48 kB / 0.5631 GB, free: 30.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.3618, allocations: 15.88 kB / 0.5631 GB, free: 30.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.3622, allocations: 273.8 kB / 0.5634 GB, free: 30.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.3623, allocations: 0.7053 MB / 0.5641 GB, free: 29.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.3624, allocations: 14.47 kB / 0.5641 GB, free: 29.63 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.3624, allocations: 0 / 0.5641 GB, free: 29.63 MB / 446.1 MB Notification: Performance of Templates: time 0.004698/0.3671, allocations: 2.433 MB / 0.5665 GB, free: 29.43 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)