Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0006705/0.0006705, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007572/0.0007572, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.8489/0.8489, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001454/0.001454, allocations: 232.2 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6463/0.6463, allocations: 138.4 MB / 454.3 MB, free: 30.07 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 0.6462 GB, free: 1.934 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.12e-05, allocations: 5.234 kB / 0.6463 GB, free: 1.93 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.001751/0.001772, allocations: 1.48 MB / 0.6477 GB, free: 444 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2608/0.2626, allocations: 450.4 kB / 0.6481 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.475e-05/0.2627, allocations: 0 / 0.6481 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.272e-05/0.2627, allocations: 7.016 kB / 0.6481 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.292e-05/0.2628, allocations: 8.891 kB / 0.6481 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.2629, allocations: 20.81 kB / 0.6482 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.047e-05/0.263, allocations: 54.44 kB / 0.6482 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.696e-05/0.2631, allocations: 11.09 kB / 0.6482 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.851e-05/0.2632, allocations: 30.39 kB / 0.6483 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.823e-05/0.2632, allocations: 19.16 kB / 0.6483 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.2633, allocations: 6.5 kB / 0.6483 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-06/0.2633, allocations: 4.188 kB / 0.6483 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.2633, allocations: 11.61 kB / 0.6483 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/0.2633, allocations: 17.22 kB / 0.6483 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.2634, allocations: 45.73 kB / 0.6484 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.2634, allocations: 0 / 0.6484 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2635, allocations: 1.219 kB / 0.6484 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.2635, allocations: 0.5312 kB / 0.6484 GB, free: 55.76 MB / 0.5573 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.00035/0.2638, allocations: 282.7 kB / 0.6486 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.2638, allocations: 14.3 kB / 0.6486 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.568e-05/0.2639, allocations: 37.39 kB / 0.6487 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.502e-05/0.2639, allocations: 7.422 kB / 0.6487 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.115e-05/0.264, allocations: 117.7 kB / 0.6488 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.264, allocations: 5.312 kB / 0.6488 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.264, allocations: 5.312 kB / 0.6488 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.685e-05/0.2641, allocations: 61.55 kB / 0.6489 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.2641, allocations: 192 / 0.6489 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.2641, allocations: 3.766 kB / 0.6489 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2641, allocations: 5.938 kB / 0.6489 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.362e-05/0.2642, allocations: 23.89 kB / 0.6489 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.2645, allocations: 268.5 kB / 0.6492 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.475e-05/0.2646, allocations: 57.97 kB / 0.6492 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.653e-05/0.2646, allocations: 24.3 kB / 0.6492 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.2646, allocations: 2.203 kB / 0.6492 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.2648, allocations: 71.28 kB / 0.6493 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=9): time 1.654e-06/0.2648, allocations: 3.125 kB / 0.6493 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9): time 0.0002011/0.265, allocations: 98.83 kB / 0.6494 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.265, allocations: 56.28 kB / 0.6495 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.889e-05/0.2651, allocations: 107.8 kB / 0.6496 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.2651, allocations: 31.92 kB / 0.6496 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.795e-05/0.2651, allocations: 85.45 kB / 0.6497 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.2651, allocations: 27.67 kB / 0.6497 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.2652, allocations: 29.61 kB / 0.6497 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.554e-05/0.2652, allocations: 319.1 kB / 0.65 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.583e-05/0.2652, allocations: 16.17 kB / 0.65 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.32e-05/0.2653, allocations: 47.78 kB / 0.6501 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.487e-05/0.2653, allocations: 69.19 kB / 0.6502 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2654, allocations: 1.094 kB / 0.6502 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001057/0.2655, allocations: 98.95 kB / 0.6502 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.2655, allocations: 5.828 kB / 0.6503 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2655, allocations: 0.875 kB / 0.6503 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.2655, allocations: 1.656 kB / 0.6503 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.456e-05/0.2655, allocations: 14.23 kB / 0.6503 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.2656, allocations: 1.484 kB / 0.6503 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.56e-05/0.2656, allocations: 10.41 kB / 0.6503 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.2656, allocations: 6.5 kB / 0.6503 GB, free: 54.23 MB / 0.5573 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 5.404e-05/0.2656, allocations: 128.1 kB / 0.6504 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-06/0.2657, allocations: 10.05 kB / 0.6504 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.35e-05/0.2657, allocations: 13.12 kB / 0.6504 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2657, allocations: 0.7812 kB / 0.6504 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2657, allocations: 1.641 kB / 0.6504 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2657, allocations: 0.7969 kB / 0.6504 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.2659, allocations: 323.6 kB / 0.6507 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2659, allocations: 1.984 kB / 0.6507 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.37e-05/0.266, allocations: 6.547 kB / 0.6508 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.266, allocations: 0.75 kB / 0.6508 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.266, allocations: 3.266 kB / 0.6508 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.266, allocations: 1.844 kB / 0.6508 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.266, allocations: 1.188 kB / 0.6508 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.651e-05/0.2661, allocations: 183.6 kB / 0.6509 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.2661, allocations: 6.938 kB / 0.6509 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.2661, allocations: 5.234 kB / 0.6509 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.093e-05/0.2661, allocations: 6.969 kB / 0.651 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.2662, allocations: 14.08 kB / 0.651 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.2662, allocations: 4.5 kB / 0.651 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.875e-05/0.2662, allocations: 84.67 kB / 0.651 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2662, allocations: 0 / 0.651 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001564/0.2663, allocations: 18.89 kB / 0.6511 GB, free: 53.62 MB / 0.5573 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.0002227/0.2666, allocations: 0.7099 MB / 0.6518 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.2667, allocations: 58.39 kB / 0.6518 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.2667, allocations: 0 / 0.6518 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.546e-05/0.2667, allocations: 19.94 kB / 0.6518 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.2669, allocations: 14.3 kB / 0.6518 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007107/0.2676, allocations: 1.386 MB / 0.6532 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.69e-05/0.2676, allocations: 71.8 kB / 0.6533 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.214e-05/0.2677, allocations: 5.312 kB / 0.6533 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.2677, allocations: 17.98 kB / 0.6533 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of SimCode: time 4.51e-07/0.2677, allocations: 0 / 0.6533 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.2828, allocations: 2.497 MB / 0.6557 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.507/6.79, allocations: 6.453 kB / 0.6557 GB, free: 50.82 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.387033089064062] Failed to read output from testmodel.py, exit status != 0: 6.870381235145032 6.878338743 6.613058032 Calling exit ...