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.0008461/0.0008461, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008178/0.0008178, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.9016/0.9016, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.5832/0.5832, allocations: 114 MB / 373.9 MB, free: 8.727 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 1.653e-06/1.653e-06, allocations: 0 / 0.5542 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.845e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.001767/0.001785, allocations: 1.409 MB / 0.5555 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0005763/0.002362, allocations: 453.6 kB / 0.556 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.817e-05/0.0024, allocations: 0 / 0.556 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.009e-05/0.00249, allocations: 7.922 kB / 0.556 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.616e-05/0.002556, allocations: 11.88 kB / 0.556 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000592/0.003148, allocations: 250.3 kB / 0.5562 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.003308, allocations: 147.8 kB / 0.5564 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.003351, allocations: 11.94 kB / 0.5564 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 8.265e-05/0.003434, allocations: 75.88 kB / 0.5564 GB, free: 480 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.374e-05/0.003497, allocations: 39.89 kB / 0.5565 GB, free: 440 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.003519, allocations: 12 kB / 0.5565 GB, free: 428 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002179/0.003737, allocations: 187.7 kB / 0.5567 GB, free: 240 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 5.246e-05/0.003789, allocations: 31.92 kB / 0.5567 GB, free: 208 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.93e-05/0.003839, allocations: 43.91 kB / 0.5567 GB, free: 164 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.004106, allocations: 271.3 kB / 0.557 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.004109, allocations: 4 kB / 0.557 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.022e-06/0.00411, allocations: 3.938 kB / 0.557 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.004114, 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.0004503/0.004564, allocations: 373.5 kB / 0.5574 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.004602, allocations: 12.61 kB / 0.5574 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.019e-05/0.004632, allocations: 34.75 kB / 0.5574 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.004671, allocations: 20.84 kB / 0.5574 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.004819, allocations: 145.6 kB / 0.5576 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.00483, allocations: 16.31 kB / 0.5576 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.004847, allocations: 8.375 kB / 0.5576 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.004972, allocations: 87.88 kB / 0.5577 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.00498, allocations: 192 / 0.5577 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.004989, allocations: 4.375 kB / 0.5577 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.004996, allocations: 8.125 kB / 0.5577 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.856e-05/0.005054, allocations: 31.98 kB / 0.5577 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.00522, allocations: 181.6 kB / 0.5579 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.005326, allocations: 73.14 kB / 0.558 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.77e-05/0.005404, allocations: 57.84 kB / 0.558 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.005417, allocations: 4 kB / 0.558 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.005568, allocations: 113 kB / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.092e-06/0.00557, allocations: 0 / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.0002521/0.005822, allocations: 189.7 kB / 0.5583 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.005865, allocations: 89.03 kB / 0.5584 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.535e-05/0.00595, allocations: 151.7 kB / 0.5585 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.00597, allocations: 33.7 kB / 0.5586 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.006015, allocations: 100.5 kB / 0.5587 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.00605, allocations: 39.69 kB / 0.5587 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.0061, allocations: 49.7 kB / 0.5588 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.507e-05/0.006175, allocations: 326.8 kB / 0.5591 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.695e-05/0.006222, allocations: 47.92 kB / 0.5591 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.006469, allocations: 0.5972 MB / 0.5597 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.922e-05/0.006568, allocations: 101.4 kB / 0.5598 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.00657, allocations: 0 / 0.5598 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001495/0.00672, allocations: 157.6 kB / 0.5599 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.006732, allocations: 7.938 kB / 0.56 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.00675, allocations: 4 kB / 0.56 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.006762, allocations: 3.984 kB / 0.56 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.669e-05/0.006818, allocations: 11.98 kB / 0.56 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.006823, allocations: 4 kB / 0.56 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.006975, allocations: 75.8 kB / 0.56 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.006983, allocations: 4 kB / 0.5601 GB, free: 12.39 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 7.987e-05/0.007063, allocations: 141.8 kB / 0.5602 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.007074, allocations: 11.91 kB / 0.5602 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.218e-05/0.007096, allocations: 20.66 kB / 0.5602 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.0071, allocations: 4 kB / 0.5602 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.007104, allocations: 0 / 0.5602 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.007109, allocations: 3.984 kB / 0.5602 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.079e-05/0.007199, allocations: 152.7 kB / 0.5604 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.0072, allocations: 0 / 0.5604 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.653e-05/0.007217, allocations: 8 kB / 0.5604 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.007218, allocations: 0 / 0.5604 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.007228, allocations: 15.94 kB / 0.5604 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.007228, allocations: 0 / 0.5604 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.007229, allocations: 0 / 0.5604 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.007416, allocations: 185.7 kB / 0.5606 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.007427, allocations: 11.94 kB / 0.5606 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.007442, allocations: 3.938 kB / 0.5606 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.197e-05/0.007464, allocations: 8 kB / 0.5606 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.0075, allocations: 3.984 kB / 0.5606 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.007505, allocations: 4 kB / 0.5606 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.846e-05/0.007554, allocations: 113.7 kB / 0.5607 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.007554, allocations: 0 / 0.5607 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001984/0.007752, 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.000433/0.008185, allocations: 0.7972 MB / 0.5616 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002823/0.008467, allocations: 155.3 kB / 0.5617 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.008469, allocations: 0 / 0.5617 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.023e-05/0.00851, allocations: 35.98 kB / 0.5617 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.008636, allocations: 14.03 kB / 0.5618 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.00981, allocations: 1.727 MB / 0.5634 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.911e-05/0.009869, allocations: 97.81 kB / 0.5635 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.018e-05/0.009899, allocations: 8.922 kB / 0.5635 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.009943, allocations: 36.47 kB / 0.5636 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of SimCode: time 6.51e-07/0.009944, allocations: 0 / 0.5636 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.02876, allocations: 4.816 MB / 0.5683 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.074/7.103, allocations: 2.234 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --stepSize=518.4 --timeout=50 --tolerance=1e-06 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.606089852750301] Failed to read output from testmodel.py, exit status != 0: 7.187654493376613 7.203680717 7.196702307 Calling exit ...