Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 210.2 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.143/1.143, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5889/0.5889, allocations: 115.3 MB / 405.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 57.69 kB / 493 MB, free: 6.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1069, allocations: 76.18 MB / 0.5558 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002075/0.109, allocations: 1.461 MB / 0.5573 GB, free: 9.281 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007718/0.1098, allocations: 0.518 MB / 0.5578 GB, free: 8.762 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.695e-05/0.1098, allocations: 0 / 0.5578 GB, free: 8.762 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.964e-05/0.1099, allocations: 3.938 kB / 0.5578 GB, free: 8.758 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.415e-05/0.11, allocations: 11.97 kB / 0.5578 GB, free: 8.746 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005484/0.1105, allocations: 194.9 kB / 0.558 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.1107, allocations: 135.8 kB / 0.5581 GB, free: 8.426 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.745e-05/0.1107, allocations: 11.98 kB / 0.5581 GB, free: 8.414 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.017e-05/0.1108, allocations: 55.83 kB / 0.5582 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.296e-05/0.1109, allocations: 39.84 kB / 0.5582 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.1109, allocations: 4 kB / 0.5582 GB, free: 8.316 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.1111, allocations: 159.8 kB / 0.5584 GB, free: 8.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.1112, allocations: 39.83 kB / 0.5584 GB, free: 8.121 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.498e-05/0.1112, allocations: 47.73 kB / 0.5584 GB, free: 8.074 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.1115, allocations: 231.7 kB / 0.5587 GB, free: 7.848 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1115, allocations: 4 kB / 0.5587 GB, free: 7.844 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.1115, allocations: 0 / 0.5587 GB, free: 7.844 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.1115, allocations: 0 / 0.5587 GB, free: 7.844 MB / 430.1 MB 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.0004542/0.112, allocations: 443.1 kB / 0.5591 GB, free: 7.359 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.112, allocations: 8.031 kB / 0.5591 GB, free: 7.352 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.472e-05/0.1121, allocations: 42.73 kB / 0.5591 GB, free: 7.301 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.1121, allocations: 12.84 kB / 0.5592 GB, free: 7.289 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.1123, allocations: 208 kB / 0.5594 GB, free: 7.047 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1123, allocations: 8.312 kB / 0.5594 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.1123, allocations: 16.38 kB / 0.5594 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.1125, allocations: 80.94 kB / 0.5595 GB, free: 6.934 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.1125, allocations: 3.938 kB / 0.5595 GB, free: 6.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.629e-06/0.1125, allocations: 3.984 kB / 0.5595 GB, free: 6.926 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1125, allocations: 4 kB / 0.5595 GB, free: 6.922 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.533e-05/0.1126, allocations: 35.92 kB / 0.5595 GB, free: 6.887 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.1128, allocations: 230.5 kB / 0.5597 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.47e-05/0.1129, allocations: 81.25 kB / 0.5598 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.364e-05/0.1129, allocations: 53.81 kB / 0.5598 GB, free: 6.453 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.113, allocations: 4 kB / 0.5598 GB, free: 6.449 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.1131, allocations: 120.9 kB / 0.56 GB, free: 6.312 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.1131, allocations: 0 / 0.56 GB, free: 6.312 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002906/0.1134, allocations: 189.9 kB / 0.5601 GB, free: 6.121 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.1135, allocations: 85.11 kB / 0.5602 GB, free: 6.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.979e-05/0.1136, allocations: 148.2 kB / 0.5604 GB, free: 5.867 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.1136, allocations: 37.7 kB / 0.5604 GB, free: 5.824 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.1137, allocations: 100.5 kB / 0.5605 GB, free: 5.719 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.1137, allocations: 35.55 kB / 0.5605 GB, free: 5.684 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/0.1138, allocations: 57.62 kB / 0.5606 GB, free: 5.621 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.193e-05/0.1139, allocations: 326.8 kB / 0.5609 GB, free: 5.293 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.124e-05/0.1139, allocations: 39.98 kB / 0.5609 GB, free: 5.254 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.1141, allocations: 201.4 kB / 0.5611 GB, free: 5.004 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.1143, allocations: 94.73 kB / 0.5612 GB, free: 4.906 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1143, allocations: 0 / 0.5612 GB, free: 4.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002045/0.1145, allocations: 173.3 kB / 0.5614 GB, free: 4.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.1145, allocations: 4 kB / 0.5614 GB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.1145, allocations: 4.156 kB / 0.5614 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.1145, allocations: 0 / 0.5614 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.35e-05/0.1146, allocations: 15.94 kB / 0.5614 GB, free: 4.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1146, allocations: 3.984 kB / 0.5614 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.1148, allocations: 75.69 kB / 0.5615 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.1149, allocations: 11.98 kB / 0.5615 GB, free: 4.617 MB / 430.1 MB 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 8.914e-05/0.115, allocations: 133.9 kB / 0.5616 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.115, allocations: 11.84 kB / 0.5616 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.115, allocations: 16.7 kB / 0.5617 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.115, allocations: 0 / 0.5617 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.115, allocations: 0 / 0.5617 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.115, allocations: 4 kB / 0.5617 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.1152, allocations: 201.5 kB / 0.5618 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1152, allocations: 0 / 0.5618 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.101e-05/0.1152, allocations: 8 kB / 0.5619 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1152, allocations: 7.938 kB / 0.5619 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.1152, allocations: 4 kB / 0.5619 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1152, allocations: 0 / 0.5619 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.1152, allocations: 4 kB / 0.5619 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.1154, allocations: 180.6 kB / 0.562 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.1155, allocations: 92.94 kB / 0.5621 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.1155, allocations: 4 kB / 0.5621 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.833e-05/0.1155, allocations: 8 kB / 0.5621 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.1156, allocations: 7.984 kB / 0.5622 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1156, allocations: 4 kB / 0.5622 GB, free: 3.848 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.131e-05/0.1157, allocations: 109.3 kB / 0.5623 GB, free: 3.742 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1157, allocations: 4 kB / 0.5623 GB, free: 3.738 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1159, allocations: 72 kB / 0.5623 GB, free: 3.668 MB / 430.1 MB 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.0004976/0.1164, allocations: 0.7809 MB / 0.5631 GB, free: 2.855 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.1166, allocations: 167.3 kB / 0.5633 GB, free: 2.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1167, allocations: 0 / 0.5633 GB, free: 2.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.333e-05/0.1167, allocations: 47.92 kB / 0.5633 GB, free: 2.633 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.1169, allocations: 3.938 kB / 0.5633 GB, free: 2.629 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.1183, allocations: 1.717 MB / 0.565 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.1185, allocations: 0.705 MB / 0.5657 GB, free: 84 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.241e-05/0.1185, allocations: 16.59 kB / 0.5657 GB, free: 68 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.1185, allocations: 27.42 kB / 0.5657 GB, free: 40 kB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1185, allocations: 0 / 0.5657 GB, free: 40 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.145/1.263, allocations: 3.716 MB / 0.5693 GB, free: 12.45 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/1.263, allocations: 201.3 kB / 0.5695 GB, free: 12.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.978, allocations: 4.062 kB / 0.5695 GB, free: 12.2 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)