Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 120 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002472/0.002472, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9189/0.9189, allocations: 144.9 MB / 454.5 MB, free: 9.988 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 73.56 kB / 0.6287 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1518, allocations: 87.84 MB / 0.7144 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002724/0.1545, allocations: 1.434 MB / 0.7158 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009308/0.1554, allocations: 0.4983 MB / 0.7163 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.1555, allocations: 0 / 0.7163 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.793e-05/0.1555, allocations: 7.938 kB / 0.7163 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.5e-05/0.1556, allocations: 15.84 kB / 0.7164 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007226/0.1563, allocations: 226.1 kB / 0.7166 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.1565, allocations: 151.7 kB / 0.7167 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.1566, allocations: 4 kB / 0.7167 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.123e-05/0.1567, allocations: 55.89 kB / 0.7168 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.288e-05/0.1567, allocations: 43.83 kB / 0.7168 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.1568, allocations: 8 kB / 0.7168 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002675/0.157, allocations: 171.8 kB / 0.717 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.202e-05/0.1571, allocations: 43.89 kB / 0.717 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.996e-05/0.1572, allocations: 43.8 kB / 0.7171 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.1575, allocations: 247.5 kB / 0.7173 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1575, allocations: 0 / 0.7173 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1575, allocations: 0 / 0.7173 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.1575, allocations: 0 / 0.7173 GB, free: 8.781 MB / 0.5294 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.0006287/0.1581, allocations: 458.6 kB / 0.7177 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1582, allocations: 8.031 kB / 0.7178 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.952e-05/0.1582, allocations: 8.188 kB / 0.7178 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.209e-05/0.1582, allocations: 30.75 kB / 0.7178 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.1583, allocations: 12.89 kB / 0.7178 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.1585, allocations: 213.7 kB / 0.718 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1585, allocations: 8.375 kB / 0.718 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.1586, allocations: 12.38 kB / 0.718 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1587, allocations: 83.64 kB / 0.7181 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.036e-06/0.1587, allocations: 4 kB / 0.7181 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.1588, allocations: 4 kB / 0.7181 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1588, allocations: 0 / 0.7181 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.755e-05/0.1588, allocations: 39.97 kB / 0.7182 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002653/0.1591, allocations: 230.5 kB / 0.7184 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.1592, allocations: 81.16 kB / 0.7184 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.716e-05/0.1593, allocations: 49.81 kB / 0.7185 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.1593, allocations: 4 kB / 0.7185 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.1595, allocations: 115.8 kB / 0.7186 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.1595, allocations: 0 / 0.7186 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0003737/0.1599, allocations: 189.5 kB / 0.7188 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.159e-05/0.16, allocations: 89.09 kB / 0.7189 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.1601, allocations: 151 kB / 0.719 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.1602, allocations: 45.62 kB / 0.7191 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.079e-05/0.1602, allocations: 96.52 kB / 0.7192 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.1603, allocations: 31.73 kB / 0.7192 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.823e-05/0.1604, allocations: 53.64 kB / 0.7192 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1605, allocations: 326.8 kB / 0.7195 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.571e-05/0.1606, allocations: 43.97 kB / 0.7196 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.1609, allocations: 202.3 kB / 0.7198 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.161, allocations: 97.58 kB / 0.7199 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.161, allocations: 4 kB / 0.7199 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002551/0.1613, allocations: 169.4 kB / 0.72 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1613, allocations: 4 kB / 0.72 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/0.1613, allocations: 4 kB / 0.72 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1613, allocations: 0 / 0.72 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.682e-05/0.1614, allocations: 11.98 kB / 0.7201 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1614, allocations: 0 / 0.7201 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.1617, allocations: 73.12 kB / 0.7201 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.1617, allocations: 7.938 kB / 0.7201 GB, free: 5.555 MB / 0.5294 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.0001434/0.1619, allocations: 145.6 kB / 0.7203 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.1619, allocations: 11.91 kB / 0.7203 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.1619, allocations: 16.72 kB / 0.7203 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1619, allocations: 0 / 0.7203 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1619, allocations: 0 / 0.7203 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.1619, allocations: 4 kB / 0.7203 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.1621, allocations: 193.6 kB / 0.7205 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1621, allocations: 0 / 0.7205 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/0.1621, allocations: 4 kB / 0.7205 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1621, allocations: 4 kB / 0.7205 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.1622, allocations: 3.984 kB / 0.7205 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1622, allocations: 0 / 0.7205 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1622, allocations: 4 kB / 0.7205 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.1624, allocations: 185.7 kB / 0.7207 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.924e-05/0.1625, allocations: 85.06 kB / 0.7208 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.1625, allocations: 0 / 0.7208 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.366e-05/0.1625, allocations: 8 kB / 0.7208 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.1626, allocations: 7.984 kB / 0.7208 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.1626, allocations: 8 kB / 0.7208 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.329e-05/0.1627, allocations: 120.6 kB / 0.7209 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1627, allocations: 0 / 0.7209 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003049/0.163, allocations: 75.8 kB / 0.721 GB, free: 4.594 MB / 0.5294 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.0007365/0.1637, allocations: 0.7894 MB / 0.7217 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002784/0.164, allocations: 163.2 kB / 0.7219 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.164, allocations: 0 / 0.7219 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.812e-05/0.1641, allocations: 35.98 kB / 0.7219 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.1642, allocations: 8 kB / 0.7219 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.1661, allocations: 1.722 MB / 0.7236 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.1665, allocations: 0.7119 MB / 0.7243 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.155e-05/0.1665, allocations: 12.66 kB / 0.7243 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/0.1666, allocations: 27.42 kB / 0.7244 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.1666, allocations: 0 / 0.7244 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.1882, allocations: 4.061 MB / 0.7283 GB, free: 13.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.424/8.612, allocations: 8.938 kB / 0.7283 GB, free: 13.06 MB / 0.545 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --stepSize=518.4 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.464888962975238] Failed to read output from testmodel.py, exit status != 0: 8.738449230964761 8.755316695 8.594712636 Calling exit ...