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.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.0007593/0.0007593, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001871/0.001871, allocations: 173.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.9278/0.9278, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5649/0.5649, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.5541 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.533e-05, allocations: 3.812 kB / 0.5541 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002364/0.00239, allocations: 1.421 MB / 0.5555 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007648/0.003154, allocations: 446.2 kB / 0.556 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.003194, allocations: 0 / 0.556 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 8.76e-05/0.003282, allocations: 7.922 kB / 0.556 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.691e-05/0.003349, allocations: 15.86 kB / 0.556 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000734/0.004083, allocations: 245.5 kB / 0.5562 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.004283, allocations: 151.8 kB / 0.5564 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.798e-05/0.004331, allocations: 7.938 kB / 0.5564 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 9.758e-05/0.004429, allocations: 83.86 kB / 0.5565 GB, free: 468 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.802e-05/0.004507, allocations: 31.91 kB / 0.5565 GB, free: 436 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.004534, allocations: 12 kB / 0.5565 GB, free: 424 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002819/0.004816, allocations: 187.7 kB / 0.5567 GB, free: 236 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 7.125e-05/0.004887, allocations: 31.91 kB / 0.5567 GB, free: 204 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 6.668e-05/0.004954, allocations: 43.91 kB / 0.5567 GB, free: 160 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.005326, allocations: 275.4 kB / 0.557 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.00533, allocations: 0 / 0.557 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.01e-07/0.00533, allocations: 0 / 0.557 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.005336, allocations: 0 / 0.557 GB, free: 15.89 MB / 0.5261 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.0006028/0.005939, allocations: 377.5 kB / 0.5574 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.005983, allocations: 8.625 kB / 0.5574 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/0.006023, allocations: 42.69 kB / 0.5574 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.358e-05/0.006076, allocations: 20.78 kB / 0.5574 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.00627, allocations: 141.7 kB / 0.5576 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.006285, allocations: 8.375 kB / 0.5576 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.006312, allocations: 20.36 kB / 0.5576 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.006474, allocations: 75.95 kB / 0.5577 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.006485, allocations: 8.125 kB / 0.5577 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.006495, allocations: 384 / 0.5577 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.006502, allocations: 4.125 kB / 0.5577 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.327e-05/0.006575, allocations: 35.98 kB / 0.5577 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002157/0.006791, allocations: 181.6 kB / 0.5579 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.006903, allocations: 81.16 kB / 0.558 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.528e-05/0.006968, allocations: 49.81 kB / 0.558 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.00698, allocations: 4 kB / 0.558 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.007197, allocations: 117.1 kB / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 9.91e-07/0.007198, allocations: 0 / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.0003431/0.007541, allocations: 189.7 kB / 0.5583 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.007598, allocations: 89.03 kB / 0.5584 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.007715, allocations: 152 kB / 0.5585 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.007741, allocations: 37.64 kB / 0.5586 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.007806, allocations: 100.5 kB / 0.5587 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.007857, allocations: 43.67 kB / 0.5587 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.341e-05/0.00793, allocations: 49.7 kB / 0.5588 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.008034, allocations: 326.8 kB / 0.5591 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.706e-05/0.008101, allocations: 43.97 kB / 0.5591 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/0.008433, allocations: 0.5978 MB / 0.5597 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.008565, allocations: 93.64 kB / 0.5598 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.008568, allocations: 0 / 0.5598 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002122/0.00878, allocations: 153.1 kB / 0.5599 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.008801, allocations: 11.92 kB / 0.5599 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/0.008823, allocations: 11.94 kB / 0.56 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.008839, allocations: 4 kB / 0.56 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.763e-05/0.008916, allocations: 4 kB / 0.56 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.008924, allocations: 4 kB / 0.56 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.00914, allocations: 75.8 kB / 0.56 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.009154, allocations: 8 kB / 0.56 GB, free: 12.38 MB / 0.5261 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.0001069/0.009261, allocations: 137.8 kB / 0.5602 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.009279, allocations: 15.91 kB / 0.5602 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.009308, allocations: 16.7 kB / 0.5602 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.009311, allocations: 4 kB / 0.5602 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.009318, allocations: 0 / 0.5602 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.009321, allocations: 0 / 0.5602 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.009449, allocations: 160.7 kB / 0.5604 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.00945, allocations: 3.938 kB / 0.5604 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.347e-05/0.009484, allocations: 4 kB / 0.5604 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.009487, allocations: 0 / 0.5604 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.009499, allocations: 19.92 kB / 0.5604 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.009501, allocations: 3.938 kB / 0.5604 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.009503, allocations: 0 / 0.5604 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.009708, allocations: 177.8 kB / 0.5606 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.679e-05/0.009725, allocations: 7.953 kB / 0.5606 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.009746, allocations: 7.938 kB / 0.5606 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.537e-05/0.009782, allocations: 4 kB / 0.5606 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.009825, allocations: 7.984 kB / 0.5606 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.009831, allocations: 0 / 0.5606 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.064e-05/0.009902, allocations: 115.2 kB / 0.5607 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.009902, allocations: 0 / 0.5607 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003364/0.01024, allocations: 79.86 kB / 0.5608 GB, free: 11.56 MB / 0.5261 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.0006023/0.01084, allocations: 0.7926 MB / 0.5616 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002428/0.01108, allocations: 159.3 kB / 0.5617 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01109, allocations: 3.938 kB / 0.5617 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.477e-05/0.01114, allocations: 35.98 kB / 0.5617 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.01132, allocations: 12 kB / 0.5618 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.01292, allocations: 1.728 MB / 0.5634 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.119e-05/0.013, allocations: 97.83 kB / 0.5635 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.765e-05/0.01304, allocations: 8.719 kB / 0.5635 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.0131, allocations: 24.5 kB / 0.5636 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of SimCode: time 9.42e-07/0.0131, allocations: 0 / 0.5636 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.03776, allocations: 4.824 MB / 0.5683 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.922/6.96, allocations: 3.75 kB / 0.5683 GB, free: 3.914 MB / 0.5261 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule_res.csv --start-time -86400 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 518.4 IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.60497375112027] Failed to read output from testmodel.py, exit status != 0: 7.043927336111665 7.052868754 7.045723872 Calling exit ...