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.001115/0.001115, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5203/0.5203, allocations: 87.49 MB / 104.9 MB, free: 13.02 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.372/1.372, allocations: 222.9 MB / 349.1 MB, free: 2.75 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.001025/0.001025, allocations: 109.4 kB / 420 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 51.92 kB / 0.4891 GB, free: 7.703 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3216, allocations: 70.06 MB / 0.5575 GB, free: 44.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002176/0.3239, allocations: 1.473 MB / 0.5589 GB, free: 43.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006888/0.3246, allocations: 0.5133 MB / 0.5594 GB, free: 43.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.481e-05/0.3246, allocations: 0 / 0.5594 GB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.056e-05/0.3247, allocations: 4.594 kB / 0.5594 GB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.341e-05/0.3247, allocations: 10.3 kB / 0.5594 GB, free: 43.03 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000507/0.3252, allocations: 193.6 kB / 0.5596 GB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.3254, allocations: 149.7 kB / 0.5598 GB, free: 42.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.3255, allocations: 2.688 kB / 0.5598 GB, free: 42.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.995e-05/0.3255, allocations: 45.84 kB / 0.5598 GB, free: 42.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.677e-05/0.3256, allocations: 43.83 kB / 0.5599 GB, free: 42.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.3256, allocations: 4 kB / 0.5599 GB, free: 42.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.3258, allocations: 171.8 kB / 0.56 GB, free: 42.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.3259, allocations: 27.91 kB / 0.56 GB, free: 42.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.3259, allocations: 47.78 kB / 0.5601 GB, free: 42.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.3261, allocations: 225.6 kB / 0.5603 GB, free: 42.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.3262, allocations: 0 / 0.5603 GB, free: 42.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.3262, allocations: 0 / 0.5603 GB, free: 42.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.3262, allocations: 0 / 0.5603 GB, free: 42.31 MB / 410.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.0003863/0.3266, allocations: 453.3 kB / 0.5607 GB, free: 41.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.763e-05/0.3266, allocations: 8.031 kB / 0.5607 GB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.3266, allocations: 16.75 kB / 0.5608 GB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.3268, allocations: 224.1 kB / 0.561 GB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3268, allocations: 4.375 kB / 0.561 GB, free: 41.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.3268, allocations: 8.375 kB / 0.561 GB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.3269, allocations: 83.89 kB / 0.5611 GB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.327, allocations: 192 / 0.5611 GB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.327, allocations: 7.938 kB / 0.5611 GB, free: 41.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.327, allocations: 0 / 0.5611 GB, free: 41.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.835e-05/0.327, allocations: 39.97 kB / 0.5611 GB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.3272, allocations: 230.5 kB / 0.5613 GB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.458e-05/0.3273, allocations: 81.17 kB / 0.5614 GB, free: 41.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.3273, allocations: 53.81 kB / 0.5615 GB, free: 40.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.3274, allocations: 0 / 0.5615 GB, free: 40.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.3275, allocations: 121 kB / 0.5616 GB, free: 40.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.3275, allocations: 0 / 0.5616 GB, free: 40.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002451/0.3278, allocations: 189.4 kB / 0.5618 GB, free: 40.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.3278, allocations: 89.09 kB / 0.5618 GB, free: 40.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.747e-05/0.3279, allocations: 152.3 kB / 0.562 GB, free: 40.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.3279, allocations: 33.7 kB / 0.562 GB, free: 40.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.572e-05/0.3279, allocations: 104.5 kB / 0.5621 GB, free: 40.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.328, allocations: 39.45 kB / 0.5622 GB, free: 40.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.328, allocations: 49.7 kB / 0.5622 GB, free: 40.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.565e-05/0.3281, allocations: 326.8 kB / 0.5625 GB, free: 39.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.012e-05/0.3281, allocations: 39.98 kB / 0.5626 GB, free: 39.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.3283, allocations: 208.6 kB / 0.5628 GB, free: 39.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.569e-05/0.3284, allocations: 93.64 kB / 0.5628 GB, free: 39.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3284, allocations: 4 kB / 0.5628 GB, free: 39.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001597/0.3285, allocations: 157.4 kB / 0.563 GB, free: 39.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.3286, allocations: 9.875 kB / 0.563 GB, free: 39.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.3286, allocations: 4 kB / 0.563 GB, free: 39.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.3286, allocations: 4 kB / 0.563 GB, free: 39.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.933e-05/0.3287, allocations: 7.984 kB / 0.563 GB, free: 39.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3287, allocations: 4 kB / 0.563 GB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.3289, allocations: 75.75 kB / 0.5631 GB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3289, allocations: 8 kB / 0.5631 GB, free: 39.12 MB / 410.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 (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 6.704e-05/0.329, allocations: 137.7 kB / 0.5632 GB, free: 38.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.329, allocations: 19.75 kB / 0.5633 GB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.281e-05/0.329, allocations: 12.72 kB / 0.5633 GB, free: 38.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3291, allocations: 4.078 kB / 0.5633 GB, free: 38.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3291, allocations: 0 / 0.5633 GB, free: 38.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3291, allocations: 7.984 kB / 0.5633 GB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.746e-05/0.3292, allocations: 193.5 kB / 0.5635 GB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3292, allocations: 3.938 kB / 0.5635 GB, free: 38.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.85e-05/0.3292, allocations: 11.92 kB / 0.5635 GB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3292, allocations: 0 / 0.5635 GB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.3292, allocations: 8 kB / 0.5635 GB, free: 38.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3292, allocations: 0 / 0.5635 GB, free: 38.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3292, allocations: 0 / 0.5635 GB, free: 38.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.3295, allocations: 0.7881 MB / 0.5643 GB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.3296, allocations: 88.92 kB / 0.5643 GB, free: 37.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.3296, allocations: 3.938 kB / 0.5643 GB, free: 37.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.782e-05/0.3296, allocations: 7.984 kB / 0.5644 GB, free: 37.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.3297, allocations: 4 kB / 0.5644 GB, free: 37.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.3297, allocations: 4 kB / 0.5644 GB, free: 37.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.371e-05/0.3297, allocations: 115.2 kB / 0.5645 GB, free: 37.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3297, allocations: 4 kB / 0.5645 GB, free: 37.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003349/0.3301, allocations: 79.92 kB / 0.5646 GB, free: 37.5 MB / 410.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 (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.0001607/0.3302, allocations: 159.2 kB / 0.5647 GB, free: 37.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.3304, allocations: 163.5 kB / 0.5649 GB, free: 37.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3304, allocations: 4 kB / 0.5649 GB, free: 37.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.916e-05/0.3305, allocations: 39.92 kB / 0.5649 GB, free: 37.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.3306, allocations: 11.94 kB / 0.5649 GB, free: 37.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.331, allocations: 388.1 kB / 0.5653 GB, free: 36.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.3311, allocations: 0.7043 MB / 0.566 GB, free: 35.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.556e-05/0.3312, allocations: 8.672 kB / 0.566 GB, free: 35.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.638e-05/0.3312, allocations: 11.44 kB / 0.566 GB, free: 35.94 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3312, allocations: 0 / 0.566 GB, free: 35.94 MB / 410.7 MB Notification: Performance of Templates: time 0.003816/0.335, allocations: 2.469 MB / 0.5684 GB, free: 33.5 MB / 410.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)