Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.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.0009253/0.0009253, allocations: 76.55 kB / 19.93 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.0008537/0.0008537, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8828/0.8828, 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.5617/0.5617, allocations: 114 MB / 373.9 MB, free: 8.703 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.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.5541 GB, free: 2.836 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.787e-05, allocations: 2.281 kB / 0.5541 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002199/0.002217, allocations: 1.479 MB / 0.5556 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000625/0.002842, allocations: 454.8 kB / 0.556 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.00288, allocations: 4 kB / 0.556 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.961e-05/0.002909, allocations: 3.938 kB / 0.556 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.3e-05/0.002982, allocations: 3.938 kB / 0.556 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.003126, allocations: 27.84 kB / 0.5561 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.784e-05/0.003204, allocations: 51.84 kB / 0.5561 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.762e-05/0.003302, allocations: 11.98 kB / 0.5561 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.264e-05/0.003364, allocations: 35.91 kB / 0.5562 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.982e-05/0.003424, allocations: 11.97 kB / 0.5562 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.003449, allocations: 4 kB / 0.5562 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 9.357e-06/0.003458, allocations: 4 kB / 0.5562 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.003477, allocations: 8 kB / 0.5562 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.003512, allocations: 19.91 kB / 0.5562 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 9.835e-05/0.003611, allocations: 47.81 kB / 0.5562 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.003612, allocations: 0 / 0.5562 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003613, allocations: 0 / 0.5562 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.003617, allocations: 8 kB / 0.5563 GB, free: 0.6602 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003577/0.003975, allocations: 282.2 kB / 0.5565 GB, free: 364 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.004012, allocations: 12.62 kB / 0.5565 GB, free: 352 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.011e-05/0.004043, allocations: 34.75 kB / 0.5566 GB, free: 308 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.226e-05/0.004065, allocations: 8.891 kB / 0.5566 GB, free: 300 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.88e-05/0.004154, allocations: 117.7 kB / 0.5567 GB, free: 156 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.004166, allocations: 8.375 kB / 0.5567 GB, free: 148 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.004176, allocations: 4.375 kB / 0.5567 GB, free: 144 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.824e-05/0.004264, allocations: 62.19 kB / 0.5568 GB, free: 76 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.004271, allocations: 4.188 kB / 0.5568 GB, free: 72 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.004282, allocations: 8.109 kB / 0.5568 GB, free: 64 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.004286, allocations: 0 / 0.5568 GB, free: 64 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.076e-05/0.004337, allocations: 27.98 kB / 0.5568 GB, free: 36 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.00472, allocations: 263.8 kB / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.201e-05/0.004802, allocations: 50.62 kB / 0.5571 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/0.004833, allocations: 20.88 kB / 0.5571 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.004844, allocations: 7.984 kB / 0.5571 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.004965, allocations: 75.42 kB / 0.5572 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.004967, allocations: 0 / 0.5572 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0001822/0.005149, allocations: 101.6 kB / 0.5573 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.005185, allocations: 55.41 kB / 0.5574 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.62e-05/0.005241, allocations: 109.8 kB / 0.5575 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.005251, allocations: 25.7 kB / 0.5575 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.005289, allocations: 92.06 kB / 0.5576 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.005308, allocations: 23.84 kB / 0.5576 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.005342, allocations: 33.7 kB / 0.5576 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.838e-05/0.00542, allocations: 314.8 kB / 0.5579 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.469e-05/0.005445, allocations: 20.3 kB / 0.5579 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.932e-05/0.005484, allocations: 51.42 kB / 0.558 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.198e-05/0.005576, allocations: 63.38 kB / 0.5581 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.005578, allocations: 0 / 0.5581 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.193e-05/0.00567, allocations: 101.5 kB / 0.5581 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.005682, allocations: 11.94 kB / 0.5582 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.005687, allocations: 0 / 0.5582 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.005698, allocations: 0 / 0.5582 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.137e-05/0.005749, allocations: 8 kB / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.005754, allocations: 4 kB / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.832e-05/0.005793, allocations: 12.02 kB / 0.5582 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.005799, allocations: 4 kB / 0.5582 GB, free: 14.46 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 6.582e-05/0.005864, allocations: 129.7 kB / 0.5583 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.005873, allocations: 7.953 kB / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.166e-05/0.005895, allocations: 12.11 kB / 0.5583 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.005898, allocations: 0 / 0.5583 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.005903, allocations: 4.062 kB / 0.5583 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.005908, allocations: 4 kB / 0.5583 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.006183, allocations: 317.5 kB / 0.5586 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.006185, allocations: 4 kB / 0.5586 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.404e-05/0.006199, allocations: 4 kB / 0.5586 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.006201, allocations: 0 / 0.5586 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.006207, allocations: 288 / 0.5586 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.006209, allocations: 4 kB / 0.5587 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.006209, allocations: 0 / 0.5587 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.006319, allocations: 187.4 kB / 0.5588 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.938e-06/0.006329, allocations: 11.94 kB / 0.5588 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.00634, allocations: 0 / 0.5588 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.865e-05/0.006379, allocations: 7.984 kB / 0.5588 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.006422, allocations: 11.98 kB / 0.5589 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.006432, allocations: 7.938 kB / 0.5589 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.94e-05/0.006461, allocations: 83.22 kB / 0.5589 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006461, allocations: 192 / 0.5589 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001624/0.006624, allocations: 19.98 kB / 0.559 GB, free: 13.59 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002944/0.006918, allocations: 0.7123 MB / 0.5597 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001091/0.007027, allocations: 51.92 kB / 0.5597 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.007029, allocations: 0 / 0.5597 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.945e-05/0.007069, allocations: 23.98 kB / 0.5597 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.007264, allocations: 16 kB / 0.5597 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009486/0.008213, allocations: 1.384 MB / 0.5611 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.18e-05/0.008255, allocations: 67.34 kB / 0.5612 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.591e-05/0.008281, allocations: 7.984 kB / 0.5612 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.008323, allocations: 16.5 kB / 0.5612 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of SimCode: time 9.52e-07/0.008324, allocations: 0 / 0.5612 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01383/0.02215, allocations: 2.473 MB / 0.5636 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.8/6.822, allocations: 6.922 kB / 0.5636 GB, free: 8.855 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.436248336918652] Failed to read output from testmodel.py, exit status != 0: 6.901652824133635 6.912422499 6.906333913 Calling exit ...