Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.341/1.341, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009124/0.0009124, allocations: 174.5 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205 MB / 0.576 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006432/0.0006432, allocations: 91.92 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002768/0.0002769, allocations: 10.16 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1458, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.00118/0.147, allocations: 1.183 MB / 0.8974 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006082/0.1476, allocations: 444.7 kB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.1476, allocations: 3.938 kB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 6.315e-05/0.1477, allocations: 4 kB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.1478, allocations: 19.92 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.1482, allocations: 198 kB / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.1484, allocations: 291.5 kB / 0.8983 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.1484, allocations: 12.2 kB / 0.8983 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.1486, allocations: 135.7 kB / 0.8984 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.1487, allocations: 119.7 kB / 0.8985 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.391e-05/0.1487, allocations: 16 kB / 0.8985 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.572e-05/0.1488, allocations: 39.98 kB / 0.8986 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.554e-05/0.1489, allocations: 51.81 kB / 0.8986 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.149, allocations: 107.7 kB / 0.8987 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.1492, allocations: 251.3 kB / 0.899 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1492, allocations: 0 / 0.899 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1492, allocations: 0 / 0.899 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.1492, allocations: 4 kB / 0.899 GB, free: 65.2 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006023/0.1498, allocations: 0.5112 MB / 0.8995 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1498, allocations: 8.031 kB / 0.8995 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.819e-05/0.1499, allocations: 42.73 kB / 0.8995 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.798e-05/0.15, allocations: 28.75 kB / 0.8995 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.1502, allocations: 260 kB / 0.8998 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.1502, allocations: 20.36 kB / 0.8998 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.1502, allocations: 28.38 kB / 0.8998 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.1506, allocations: 259.6 kB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.1506, allocations: 3.938 kB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.1507, allocations: 3.984 kB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1507, allocations: 4 kB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.1509, allocations: 103.9 kB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002373/0.1511, allocations: 383.9 kB / 0.9006 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.1515, allocations: 238.8 kB / 0.9008 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.1517, allocations: 131.4 kB / 0.9009 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.1517, allocations: 7.938 kB / 0.9009 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003704/0.1521, allocations: 293.5 kB / 0.9012 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=24): time 1.443e-06/0.1521, allocations: 0 / 0.9012 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.0008434/0.1529, allocations: 0.5214 MB / 0.9017 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.153, allocations: 144.5 kB / 0.9019 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.569e-05/0.1531, allocations: 156 kB / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.1531, allocations: 41.95 kB / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.1532, allocations: 108.6 kB / 0.9021 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.1532, allocations: 63.19 kB / 0.9022 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.1533, allocations: 49.64 kB / 0.9023 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.112e-05/0.1533, allocations: 330.8 kB / 0.9026 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.1535, allocations: 175.9 kB / 0.9027 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.1537, allocations: 231 kB / 0.903 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.154, allocations: 305.5 kB / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.154, allocations: 4 kB / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000739/0.1548, allocations: 0.7331 MB / 0.904 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.945e-05/0.1548, allocations: 91.31 kB / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1548, allocations: 4.062 kB / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1549, allocations: 7.984 kB / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.646e-05/0.1549, allocations: 19.92 kB / 0.9041 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.155, allocations: 0 / 0.9041 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003259/0.1553, allocations: 79.77 kB / 0.9042 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.1553, allocations: 27.98 kB / 0.9042 GB, free: 59.47 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.iPerSto,$PRE.occSchWee.iPerSto,occSchWee.iPerSta,$PRE.occSchWee.iPerSta,occSchWee.nexStoInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStaInd,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition4,$whenCondition3,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.iPerSto,$PRE.occSchDay.iPerSto,occSchDay.iPerSta,$PRE.occSchDay.iPerSta,occSchDay.nexStoInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStaInd,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.0001046/0.1554, allocations: 148.5 kB / 0.9043 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.1555, allocations: 31.67 kB / 0.9044 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.1555, allocations: 16.72 kB / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1555, allocations: 4 kB / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1555, allocations: 0 / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1555, allocations: 7.984 kB / 0.9044 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.1557, allocations: 257.4 kB / 0.9046 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1557, allocations: 8 kB / 0.9046 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.771e-05/0.1558, allocations: 15.92 kB / 0.9047 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.1558, allocations: 3.938 kB / 0.9047 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/0.1558, allocations: 11.98 kB / 0.9047 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1558, allocations: 0 / 0.9047 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1558, allocations: 3.984 kB / 0.9047 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006041/0.1564, allocations: 471.4 kB / 0.9051 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.1565, allocations: 100.8 kB / 0.9052 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.128e-05/0.1565, allocations: 15.98 kB / 0.9052 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.1566, allocations: 19.98 kB / 0.9053 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.1567, allocations: 23.95 kB / 0.9053 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.1567, allocations: 19.98 kB / 0.9053 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.644e-05/0.1568, allocations: 115.2 kB / 0.9054 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1568, allocations: 4 kB / 0.9054 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002566/0.1571, allocations: 75.98 kB / 0.9055 GB, free: 58.04 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 14 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,occSchWee.occupied,occSchWee.tOcc,occSchWee.nexStaInd,occSchWee.iPerSta) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0007703/0.1578, allocations: 1.05 MB / 0.9065 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000637/0.1585, allocations: 0.6977 MB / 0.9072 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1585, allocations: 0 / 0.9072 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002607/0.1588, allocations: 163.9 kB / 0.9073 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.1589, allocations: 20.89 kB / 0.9074 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.1616, allocations: 3.176 MB / 0.9105 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.1617, allocations: 0.7207 MB / 0.9112 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.717e-05/0.1617, allocations: 9.438 kB / 0.9112 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.1618, allocations: 39.42 kB / 0.9112 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.1618, allocations: 0 / 0.9112 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1904/0.3522, allocations: 4.7 MB / 0.9158 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001364/0.3523, allocations: 210.4 kB / 0.916 GB, free: 47.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/1.95, allocations: 4 kB / 0.916 GB, free: 47.18 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)