Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009223/0.0009223, allocations: 85.45 kB / 21.62 MB, free: 2.84 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 171.9 kB / 25.05 MB, free: 9.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9802/0.9802, allocations: 177.1 MB / 205.5 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.937/1.937, allocations: 389.6 MB / 0.6363 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 0.7761 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.279e-05/3.524e-05, allocations: 2.312 kB / 0.7761 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003359/0.003395, allocations: 1.515 MB / 0.7776 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009463/0.004341, allocations: 482.2 kB / 0.778 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.713e-05/0.004388, allocations: 0 / 0.778 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.004496, allocations: 10.45 kB / 0.778 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.842e-05/0.004574, allocations: 15.64 kB / 0.778 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009068/0.005481, allocations: 221.9 kB / 0.7783 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.005765, allocations: 151.4 kB / 0.7784 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.714e-05/0.005823, allocations: 4 kB / 0.7784 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.005961, allocations: 77.59 kB / 0.7785 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.92e-05/0.00605, allocations: 39.89 kB / 0.7785 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.006084, allocations: 8 kB / 0.7785 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000426/0.00651, allocations: 204.4 kB / 0.7787 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.08e-05/0.0066, allocations: 43.89 kB / 0.7788 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.031e-05/0.006671, allocations: 36.42 kB / 0.7788 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004246/0.007095, allocations: 244.1 kB / 0.779 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.007103, allocations: 3.984 kB / 0.779 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.563e-06/0.007104, allocations: 3.031 kB / 0.779 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.007111, allocations: 0 / 0.779 GB, free: 2.367 MB / 0.7292 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.0006155/0.007726, allocations: 344.2 kB / 0.7794 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.007775, allocations: 9.344 kB / 0.7794 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.007828, allocations: 16.91 kB / 0.7794 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.008044, allocations: 148.1 kB / 0.7795 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.008062, allocations: 8.375 kB / 0.7795 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.008091, allocations: 15.12 kB / 0.7796 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.008222, allocations: 70.7 kB / 0.7796 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.008231, allocations: 192 / 0.7796 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.008238, allocations: 384 / 0.7796 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.008244, allocations: 384 / 0.7796 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.463e-05/0.008289, allocations: 25.52 kB / 0.7796 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.008449, allocations: 95.48 kB / 0.7797 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.19e-05/0.00854, allocations: 59.2 kB / 0.7798 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.921e-05/0.00857, allocations: 25.8 kB / 0.7798 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.008579, allocations: 3.938 kB / 0.7798 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/0.008706, allocations: 92.02 kB / 0.7799 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.008708, allocations: 0 / 0.7799 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.000177/0.008885, allocations: 88.84 kB / 0.78 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.008954, allocations: 93.09 kB / 0.7801 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.562e-05/0.00904, allocations: 134.6 kB / 0.7802 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.009065, allocations: 34.52 kB / 0.7802 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.914e-05/0.009104, allocations: 100.5 kB / 0.7803 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.009143, allocations: 36.22 kB / 0.7804 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/0.009195, allocations: 54.55 kB / 0.7804 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.009287, allocations: 330.7 kB / 0.7807 GB, free: 448 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.28e-05/0.00931, allocations: 14.83 kB / 0.7808 GB, free: 432 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.009561, allocations: 0.5383 MB / 0.7813 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.28e-05/0.009634, allocations: 72.02 kB / 0.7814 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.009636, allocations: 0 / 0.7814 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000112/0.009748, allocations: 91.33 kB / 0.7814 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.009763, allocations: 5.438 kB / 0.7814 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/0.009785, allocations: 4.078 kB / 0.7814 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.009798, allocations: 3.984 kB / 0.7815 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.389e-05/0.009882, allocations: 24.59 kB / 0.7815 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.009889, allocations: 7.922 kB / 0.7815 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.009995, allocations: 41.3 kB / 0.7815 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.01, allocations: 4.969 kB / 0.7815 GB, free: 15.47 MB / 0.7448 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 9.111e-05/0.01009, allocations: 128.6 kB / 0.7816 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.01011, allocations: 8.953 kB / 0.7817 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.01014, allocations: 16.77 kB / 0.7817 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.01014, allocations: 4.594 kB / 0.7817 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.01015, allocations: 0 / 0.7817 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.01015, allocations: 8.594 kB / 0.7817 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.269e-05/0.01023, allocations: 87.56 kB / 0.7818 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01024, allocations: 0 / 0.7818 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.283e-05/0.01026, allocations: 11.98 kB / 0.7818 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.01026, allocations: 0 / 0.7818 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.01027, allocations: 0 / 0.7818 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.01027, allocations: 0.6875 kB / 0.7818 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.01027, allocations: 4 kB / 0.7818 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.0104, allocations: 114.3 kB / 0.7819 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.01041, allocations: 11.91 kB / 0.7819 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.01043, allocations: 7.984 kB / 0.7819 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.348e-05/0.01045, allocations: 0.5312 kB / 0.7819 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.01049, allocations: 8.922 kB / 0.7819 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.0105, allocations: 7.938 kB / 0.7819 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.563e-05/0.01052, allocations: 31.83 kB / 0.782 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01052, allocations: 0 / 0.782 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003986/0.01092, allocations: 75.8 kB / 0.782 GB, free: 14.91 MB / 0.7448 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.0002181/0.01114, allocations: 166.1 kB / 0.7822 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001745/0.01131, allocations: 113 kB / 0.7823 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.01132, allocations: 0 / 0.7823 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.265e-05/0.01135, allocations: 30.7 kB / 0.7823 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.496e-05/0.01145, allocations: 11.92 kB / 0.7823 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.01176, allocations: 210.5 kB / 0.7825 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.048e-05/0.0118, allocations: 64.44 kB / 0.7826 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.069e-05/0.01184, allocations: 8.734 kB / 0.7826 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.026e-05/0.01192, allocations: 79.34 kB / 0.7827 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of SimCode: time 8.32e-07/0.01192, allocations: 1.031 kB / 0.7827 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.004786/0.01671, allocations: 2.877 MB / 0.7855 GB, free: 11.48 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.068438060581684]