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.001154/0.001154, allocations: 100.6 kB / 16.36 MB, free: 6.426 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.001054/0.001054, allocations: 196.5 kB / 17.3 MB, free: 5.797 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.478/1.478, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.88/1.88, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001744/0.001744, allocations: 71.84 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2648, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003196/0.268, allocations: 1.422 MB / 0.7862 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009979/0.269, allocations: 0.4944 MB / 0.7866 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.427e-05/0.2691, allocations: 0 / 0.7866 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.645e-05/0.2692, allocations: 7.938 kB / 0.7867 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.504e-05/0.2693, allocations: 15.86 kB / 0.7867 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009496/0.2703, allocations: 226.8 kB / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.2706, allocations: 147.8 kB / 0.787 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.2706, allocations: 4 kB / 0.787 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.2707, allocations: 63.84 kB / 0.7871 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.2709, allocations: 39.88 kB / 0.7871 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/0.2709, allocations: 12 kB / 0.7871 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003202/0.2712, allocations: 159.8 kB / 0.7873 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.788e-05/0.2713, allocations: 35.91 kB / 0.7873 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.524e-05/0.2714, allocations: 59.7 kB / 0.7874 GB, free: 456 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.2718, allocations: 227.5 kB / 0.7876 GB, free: 228 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2718, allocations: 0 / 0.7876 GB, free: 228 kB / 0.6544 GB Notification: Performance of FrontEnd: time 3.126e-06/0.2718, allocations: 0 / 0.7876 GB, free: 228 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.2718, allocations: 11.92 kB / 0.7876 GB, free: 216 kB / 0.6544 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.4673/0.7391, allocations: 442.2 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.077e-05/0.7392, allocations: 8.25 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.7393, allocations: 12.72 kB / 0.7881 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.7396, allocations: 216.4 kB / 0.7883 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.7396, allocations: 5.094 kB / 0.7883 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.7396, allocations: 11 kB / 0.7883 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.7399, allocations: 84.02 kB / 0.7884 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.7399, allocations: 1.781 kB / 0.7884 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.7399, allocations: 7.875 kB / 0.7884 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.7399, allocations: 5.125 kB / 0.7884 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.496e-05/0.74, allocations: 35.56 kB / 0.7884 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002763/0.7403, allocations: 227 kB / 0.7886 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.7404, allocations: 89.17 kB / 0.7887 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.805e-05/0.7405, allocations: 55.14 kB / 0.7888 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.7406, allocations: 3.531 kB / 0.7888 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003104/0.7409, allocations: 106.2 kB / 0.7889 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 3.016e-06/0.7409, allocations: 4.844 kB / 0.7889 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0003925/0.7413, allocations: 187.9 kB / 0.789 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.7414, allocations: 91.03 kB / 0.7891 GB, free: 48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.7415, allocations: 149.6 kB / 0.7893 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.7416, allocations: 37.39 kB / 0.7893 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.7416, allocations: 102.5 kB / 0.7894 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.621e-05/0.7417, allocations: 41.91 kB / 0.7894 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.874e-05/0.7418, allocations: 49.28 kB / 0.7895 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.7419, allocations: 324 kB / 0.7898 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.254e-05/0.742, allocations: 40.8 kB / 0.7898 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.7422, allocations: 210 kB / 0.79 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.7424, allocations: 99.5 kB / 0.7901 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.7424, allocations: 2.938 kB / 0.7901 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002607/0.7427, allocations: 163.6 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.7427, allocations: 5.25 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.722e-05/0.7427, allocations: 2.625 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.7428, allocations: 4.531 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.7429, allocations: 15.23 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.7429, allocations: 0.5312 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.7432, allocations: 71.45 kB / 0.7904 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.7433, allocations: 8.656 kB / 0.7904 GB, free: 47.23 MB / 0.6544 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.0001417/0.7434, allocations: 140.6 kB / 0.7905 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.7435, allocations: 12.66 kB / 0.7905 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.912e-05/0.7435, allocations: 16.38 kB / 0.7906 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.7435, allocations: 2.188 kB / 0.7906 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.7435, allocations: 0.9688 kB / 0.7906 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.7436, allocations: 2.531 kB / 0.7906 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.7438, allocations: 196 kB / 0.7908 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.7438, allocations: 4.469 kB / 0.7908 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.7438, allocations: 7.469 kB / 0.7908 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.7438, allocations: 1.062 kB / 0.7908 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.7438, allocations: 3.062 kB / 0.7908 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.7438, allocations: 2.438 kB / 0.7908 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7439, allocations: 0 / 0.7908 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.7441, allocations: 181.8 kB / 0.7909 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.7442, allocations: 99.08 kB / 0.791 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.7442, allocations: 7.844 kB / 0.791 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.38e-05/0.7442, allocations: 3.75 kB / 0.791 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.7443, allocations: 9.562 kB / 0.7911 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.7443, allocations: 2.625 kB / 0.7911 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.048e-05/0.7444, allocations: 115.3 kB / 0.7912 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7444, allocations: 0.6562 kB / 0.7912 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000359/0.7448, allocations: 74.97 kB / 0.7912 GB, free: 46.65 MB / 0.6544 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.0002358/0.745, allocations: 165.8 kB / 0.7914 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002621/0.7453, allocations: 166.4 kB / 0.7916 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7453, allocations: 0 / 0.7916 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.106e-05/0.7454, allocations: 45.2 kB / 0.7916 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.7456, allocations: 13.41 kB / 0.7916 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.746, allocations: 223.6 kB / 0.7918 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.7462, allocations: 0.703 MB / 0.7925 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.47e-05/0.7462, allocations: 11.19 kB / 0.7925 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.7462, allocations: 15.47 kB / 0.7925 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.7463, allocations: 0 / 0.7925 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.005215/0.7515, allocations: 2.517 MB / 0.795 GB, free: 45.54 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)