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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 104.7 kB / 15.98 MB, free: 6.344 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.001812/0.001812, allocations: 198 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 205.1 MB / 222.8 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.894/1.894, allocations: 292.3 MB / 0.5492 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001594, allocations: 70.66 kB / 0.6716 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.243, allocations: 114.5 MB / 0.7835 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002783/0.2458, allocations: 1.49 MB / 0.785 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008927/0.2467, allocations: 0.4955 MB / 0.7854 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.2468, allocations: 0 / 0.7854 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.909e-05/0.2469, allocations: 7.984 kB / 0.7854 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.474e-05/0.247, allocations: 7.875 kB / 0.7855 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007202/0.2477, allocations: 218.8 kB / 0.7857 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.2479, allocations: 143.8 kB / 0.7858 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.248, allocations: 4 kB / 0.7858 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.918e-05/0.2481, allocations: 55.91 kB / 0.7859 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.65e-05/0.2481, allocations: 47.81 kB / 0.7859 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.2482, allocations: 12 kB / 0.7859 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002407/0.2484, allocations: 171.8 kB / 0.7861 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.429e-05/0.2485, allocations: 39.91 kB / 0.7861 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.671e-05/0.2486, allocations: 55.72 kB / 0.7862 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.2488, allocations: 164 kB / 0.7863 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2488, allocations: 0 / 0.7863 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2488, allocations: 0 / 0.7863 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.2488, allocations: 4 kB / 0.7863 GB, free: 11.03 MB / 0.6075 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.0005814/0.2494, allocations: 447 kB / 0.7868 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2495, allocations: 12.03 kB / 0.7868 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.616e-05/0.2495, allocations: 16.84 kB / 0.7868 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.2497, allocations: 200.1 kB / 0.787 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.2498, allocations: 8.375 kB / 0.787 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.2498, allocations: 8.375 kB / 0.787 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.25, allocations: 87.88 kB / 0.7871 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.25, allocations: 192 / 0.7871 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.25, allocations: 7.938 kB / 0.7871 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.25, allocations: 4 kB / 0.7871 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.162e-05/0.2501, allocations: 31.98 kB / 0.7871 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002413/0.2503, allocations: 238.5 kB / 0.7873 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.2505, allocations: 85.17 kB / 0.7874 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.769e-05/0.2505, allocations: 49.81 kB / 0.7875 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.2506, allocations: 7.984 kB / 0.7875 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.2508, allocations: 112.9 kB / 0.7876 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.2508, allocations: 0 / 0.7876 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0003234/0.2511, allocations: 189.4 kB / 0.7878 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.2512, allocations: 85.09 kB / 0.7878 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.2514, allocations: 156.3 kB / 0.788 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.2514, allocations: 33.7 kB / 0.788 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/0.2515, allocations: 104.5 kB / 0.7881 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.2515, allocations: 39.55 kB / 0.7882 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.792e-05/0.2516, allocations: 45.7 kB / 0.7882 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.2517, allocations: 322.8 kB / 0.7885 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.406e-05/0.2518, allocations: 39.98 kB / 0.7886 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.252, allocations: 208 kB / 0.7888 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.2522, allocations: 93.64 kB / 0.7888 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2522, allocations: 4 kB / 0.7888 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002156/0.2524, allocations: 169.3 kB / 0.789 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2524, allocations: 8 kB / 0.789 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.2524, allocations: 4 kB / 0.789 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2525, allocations: 0 / 0.789 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.325e-05/0.2526, allocations: 8 kB / 0.789 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.2526, allocations: 0 / 0.789 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.2528, allocations: 79.73 kB / 0.7891 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.2529, allocations: 8 kB / 0.7891 GB, free: 7.855 MB / 0.6075 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.0001227/0.253, allocations: 137.7 kB / 0.7892 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.253, allocations: 15.83 kB / 0.7893 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.2531, allocations: 12.72 kB / 0.7893 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2531, allocations: 0 / 0.7893 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2531, allocations: 0 / 0.7893 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2531, allocations: 8 kB / 0.7893 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.2533, allocations: 189.5 kB / 0.7895 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.2533, allocations: 7.938 kB / 0.7895 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.211e-05/0.2533, allocations: 11.94 kB / 0.7895 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2533, allocations: 0 / 0.7895 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.2533, allocations: 4 kB / 0.7895 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2533, allocations: 0 / 0.7895 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2533, allocations: 4 kB / 0.7895 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.2536, allocations: 182.8 kB / 0.7897 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.91e-05/0.2536, allocations: 100.8 kB / 0.7898 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.2537, allocations: 4 kB / 0.7898 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.772e-05/0.2537, allocations: 0 / 0.7898 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.2538, allocations: 11.98 kB / 0.7898 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.2538, allocations: 4 kB / 0.7898 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.632e-05/0.2539, allocations: 113.1 kB / 0.7899 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2539, allocations: 0 / 0.7899 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002818/0.2542, allocations: 68 kB / 0.7899 GB, free: 6.898 MB / 0.6075 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.0002528/0.2544, allocations: 170 kB / 0.7901 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002566/0.2547, allocations: 172 kB / 0.7903 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2547, allocations: 0 / 0.7903 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.253e-05/0.2548, allocations: 43.92 kB / 0.7903 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.2549, allocations: 15.03 kB / 0.7903 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.2554, allocations: 281.1 kB / 0.7906 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.2557, allocations: 0.7079 MB / 0.7913 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.2557, allocations: 19.44 kB / 0.7913 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.2557, allocations: 0 / 0.7913 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of Templates: time 0.004145/0.2599, allocations: 2.448 MB / 0.7937 GB, free: 3.004 MB / 0.6075 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)