Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.751/1.751, allocations: 292.3 MB / 308.1 MB, free: 4.285 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.001777/0.001777, allocations: 180.5 kB / 376.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.169/2.169, allocations: 205.1 MB / 0.6354 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001419/0.001419, allocations: 95.66 kB / 0.748 GB, free: 61.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 55.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4231, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.004249/0.4274, allocations: 1.482 MB / 0.9837 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.4289, allocations: 0.5218 MB / 0.9842 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.396e-05/0.429, allocations: 0 / 0.9842 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.4291, allocations: 0 / 0.9842 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.249e-05/0.4293, allocations: 15.91 kB / 0.9842 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.4303, allocations: 195.6 kB / 0.9844 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.4307, allocations: 143.7 kB / 0.9845 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.234e-05/0.4308, allocations: 8 kB / 0.9845 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.4309, allocations: 51.91 kB / 0.9846 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.431, allocations: 35.83 kB / 0.9846 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.224e-05/0.4311, allocations: 8 kB / 0.9846 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004279/0.4315, allocations: 167.8 kB / 0.9848 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.4316, allocations: 31.91 kB / 0.9848 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.4318, allocations: 43.78 kB / 0.9848 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005207/0.4323, allocations: 223.7 kB / 0.985 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.4323, allocations: 4 kB / 0.985 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4323, allocations: 0 / 0.985 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.197e-05/0.4323, allocations: 0 / 0.985 GB, free: 7.461 MB / 0.7136 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.0008692/0.4332, allocations: 451 kB / 0.9855 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.4333, allocations: 12.03 kB / 0.9855 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.642e-05/0.4334, allocations: 16.75 kB / 0.9855 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.4337, allocations: 204.2 kB / 0.9857 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.4337, allocations: 4.375 kB / 0.9857 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.4338, allocations: 12.38 kB / 0.9857 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.434, allocations: 87.83 kB / 0.9858 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.434, allocations: 192 / 0.9858 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.434, allocations: 7.938 kB / 0.9858 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.4341, allocations: 4 kB / 0.9858 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.12e-05/0.4342, allocations: 35.97 kB / 0.9858 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.4345, allocations: 230.4 kB / 0.9861 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.4347, allocations: 89.17 kB / 0.9861 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.94e-05/0.4348, allocations: 53.81 kB / 0.9862 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.4348, allocations: 11.92 kB / 0.9862 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003802/0.4352, allocations: 113 kB / 0.9863 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/0.4352, allocations: 4 kB / 0.9863 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0004487/0.4357, allocations: 193.4 kB / 0.9865 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.941e-05/0.4358, allocations: 85.09 kB / 0.9866 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.4359, allocations: 152 kB / 0.9867 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.436, allocations: 37.7 kB / 0.9868 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.743e-05/0.4361, allocations: 100.5 kB / 0.9869 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/0.4362, allocations: 47.44 kB / 0.9869 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.4363, allocations: 45.7 kB / 0.987 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.4365, allocations: 334.8 kB / 0.9873 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-05/0.4366, allocations: 35.98 kB / 0.9873 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.4369, allocations: 210.9 kB / 0.9875 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.437, allocations: 89.7 kB / 0.9876 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.437, allocations: 0 / 0.9876 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002702/0.4373, allocations: 161.4 kB / 0.9877 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.4373, allocations: 4 kB / 0.9878 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.1e-05/0.4374, allocations: 4 kB / 0.9878 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.4374, allocations: 0 / 0.9878 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.725e-05/0.4375, allocations: 15.98 kB / 0.9878 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.4375, allocations: 0 / 0.9878 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.4378, allocations: 71.75 kB / 0.9878 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.4379, allocations: 8 kB / 0.9878 GB, free: 4.273 MB / 0.7136 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 0.0001599/0.438, allocations: 149.7 kB / 0.988 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.4381, allocations: 15.75 kB / 0.988 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/0.4381, allocations: 16.66 kB / 0.988 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.4381, allocations: 4 kB / 0.988 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.4381, allocations: 0 / 0.988 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.4382, allocations: 7.984 kB / 0.988 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.4384, allocations: 185.6 kB / 0.9882 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4384, allocations: 3.938 kB / 0.9882 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.4384, allocations: 11.98 kB / 0.9882 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4384, allocations: 4 kB / 0.9882 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.4385, allocations: 4 kB / 0.9882 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.4385, allocations: 0 / 0.9882 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4385, allocations: 4 kB / 0.9882 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006802/0.4392, allocations: 0.7691 MB / 0.989 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.882e-05/0.4393, allocations: 100.8 kB / 0.9891 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.4393, allocations: 0 / 0.9891 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.4e-05/0.4393, allocations: 7.984 kB / 0.9891 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.4394, allocations: 8 kB / 0.9891 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.4394, allocations: 4 kB / 0.9891 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.797e-05/0.4395, allocations: 116.8 kB / 0.9892 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4395, allocations: 4 kB / 0.9892 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000478/0.44, allocations: 75.98 kB / 0.9893 GB, free: 2.652 MB / 0.7136 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.0003809/0.4404, allocations: 163.1 kB / 0.9894 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003124/0.4407, allocations: 167.9 kB / 0.9896 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4407, allocations: 0 / 0.9896 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.258e-05/0.4408, allocations: 47.91 kB / 0.9897 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.441, allocations: 8 kB / 0.9897 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007558/0.4418, allocations: 384.1 kB / 0.99 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.4422, allocations: 0.7082 MB / 0.9907 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.988e-05/0.4423, allocations: 12.94 kB / 0.9907 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.4423, allocations: 15.44 kB / 0.9907 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of SimCode: time 1.353e-06/0.4423, allocations: 0 / 0.9907 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of Templates: time 0.007264/0.4496, allocations: 2.456 MB / 0.9931 GB, free: 14.64 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)