Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.713/1.713, allocations: 288.3 MB / 303.2 MB, free: 8.113 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001464/0.001465, allocations: 185 kB / 371.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.4 MB / 0.6306 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 110.2 kB / 0.7439 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.0004376, allocations: 14.78 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3178, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001687/0.3196, allocations: 1.124 MB / 0.9805 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007279/0.3204, allocations: 451.8 kB / 0.9809 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.743e-05/0.3204, allocations: 3.938 kB / 0.9809 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.532e-05/0.3205, allocations: 3.984 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.72e-05/0.3205, allocations: 8 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006937/0.3212, allocations: 189.2 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.3214, allocations: 87.89 kB / 0.9812 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.569e-05/0.3215, allocations: 8 kB / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.964e-05/0.3216, allocations: 51.84 kB / 0.9813 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.584e-05/0.3216, allocations: 43.89 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.3217, allocations: 4 kB / 0.9813 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.3219, allocations: 135.8 kB / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/0.3219, allocations: 31.91 kB / 0.9815 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.777e-05/0.322, allocations: 45.64 kB / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.3223, allocations: 160 kB / 0.9817 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3223, allocations: 0 / 0.9817 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.025e-06/0.3223, allocations: 4 kB / 0.9817 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3223, allocations: 0 / 0.9817 GB, free: 25.39 MB / 0.6198 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.0005554/0.3229, allocations: 422.9 kB / 0.9821 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3229, allocations: 12.03 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/0.323, allocations: 15.81 kB / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.3232, allocations: 202.9 kB / 0.9823 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.3232, allocations: 8 kB / 0.9823 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.3232, allocations: 12 kB / 0.9823 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.3234, allocations: 83.33 kB / 0.9824 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.3234, allocations: 0 / 0.9824 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3235, allocations: 0 / 0.9824 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3235, allocations: 4 kB / 0.9824 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.234e-05/0.3235, allocations: 35.97 kB / 0.9824 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002179/0.3238, allocations: 242.3 kB / 0.9827 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.147e-05/0.3239, allocations: 81.19 kB / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.3239, allocations: 0 / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/0.3241, allocations: 117.1 kB / 0.9829 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.3241, allocations: 0 / 0.9829 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0003656/0.3245, allocations: 351.6 kB / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.3245, allocations: 85.05 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.3246, allocations: 151.1 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.3247, allocations: 33.7 kB / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.3247, allocations: 108.5 kB / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.3248, allocations: 39.53 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.3248, allocations: 0 / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.596e-05/0.3249, allocations: 330.8 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.718e-05/0.3249, allocations: 44.17 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.3251, allocations: 195.7 kB / 0.9841 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.63e-05/0.3252, allocations: 55.98 kB / 0.9842 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3252, allocations: 0 / 0.9842 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001768/0.3254, allocations: 157.4 kB / 0.9843 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.3254, allocations: 4 kB / 0.9843 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.3254, allocations: 4 kB / 0.9843 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3255, allocations: 0 / 0.9843 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.567e-05/0.3255, allocations: 23.92 kB / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3255, allocations: 0 / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.3258, allocations: 83.84 kB / 0.9845 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.3258, allocations: 8 kB / 0.9845 GB, free: 22.19 MB / 0.6198 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 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.692e-05/0.3259, allocations: 139.4 kB / 0.9846 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.326, allocations: 15.81 kB / 0.9846 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.326, allocations: 12.72 kB / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.326, allocations: 4 kB / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.326, allocations: 0 / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.326, allocations: 0 / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.3261, allocations: 189.6 kB / 0.9848 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3261, allocations: 4 kB / 0.9848 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-05/0.3262, allocations: 11.94 kB / 0.9848 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3262, allocations: 0 / 0.9848 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.3262, allocations: 11.98 kB / 0.9848 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3262, allocations: 0 / 0.9848 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3262, allocations: 0 / 0.9848 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.3264, allocations: 203.9 kB / 0.985 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.3265, allocations: 84.95 kB / 0.9851 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.3265, allocations: 4 kB / 0.9851 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.097e-05/0.3265, allocations: 8 kB / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.3266, allocations: 3.984 kB / 0.9851 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.3266, allocations: 8 kB / 0.9851 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.825e-05/0.3267, allocations: 117.4 kB / 0.9852 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3267, allocations: 3.938 kB / 0.9852 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002643/0.3269, allocations: 71.98 kB / 0.9853 GB, free: 21.22 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002153/0.3272, allocations: 171.1 kB / 0.9855 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.3274, allocations: 159.2 kB / 0.9856 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3274, allocations: 0 / 0.9856 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.352e-05/0.3275, allocations: 43.98 kB / 0.9857 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.3276, allocations: 15.92 kB / 0.9857 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003913/0.328, allocations: 238.5 kB / 0.9859 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.3282, allocations: 0.7121 MB / 0.9866 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.614e-05/0.3282, allocations: 8.656 kB / 0.9866 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.3282, allocations: 15.44 kB / 0.9866 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.3282, allocations: 0 / 0.9866 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of Templates: time 0.004588/0.3328, allocations: 2.321 MB / 0.9889 GB, free: 17.5 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)