Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.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.001146/0.001146, allocations: 80.48 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.001389/0.001389, allocations: 173.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.9283/0.9283, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.5482/0.5482, allocations: 114 MB / 373.9 MB, free: 8.684 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.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.5542 GB, free: 1.668 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.516e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.664 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002799/0.002825, allocations: 1.489 MB / 0.5556 GB, free: 168 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.000269/0.003094, allocations: 111.5 kB / 0.5558 GB, free: 56 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.247e-05/0.003126, allocations: 0 / 0.5558 GB, free: 56 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 4.336e-05/0.003169, allocations: 7.938 kB / 0.5558 GB, free: 48 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.545e-05/0.003225, allocations: 7.922 kB / 0.5558 GB, free: 40 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.003459, allocations: 23.92 kB / 0.5558 GB, free: 16 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.003563, allocations: 47.83 kB / 0.5558 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.003675, allocations: 8 kB / 0.5558 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.884e-05/0.003754, allocations: 27.91 kB / 0.5559 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.388e-05/0.003807, allocations: 11.98 kB / 0.5559 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.003826, allocations: 4 kB / 0.5559 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.687e-05/0.003903, allocations: 19.98 kB / 0.5559 GB, free: 15.9 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.958e-05/0.003963, allocations: 19.92 kB / 0.5559 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.003987, allocations: 8 kB / 0.5559 GB, free: 15.87 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.00415, allocations: 59.78 kB / 0.556 GB, free: 15.81 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.004154, allocations: 8 kB / 0.556 GB, free: 15.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.004156, allocations: 0 / 0.556 GB, free: 15.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.004162, allocations: 0 / 0.556 GB, free: 15.8 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004737/0.004635, allocations: 302.1 kB / 0.5563 GB, free: 15.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.004689, allocations: 8.625 kB / 0.5563 GB, free: 15.47 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.785e-05/0.004727, allocations: 42.75 kB / 0.5563 GB, free: 15.42 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002285/0.004956, allocations: 28.86 kB / 0.5564 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.005057, allocations: 121.6 kB / 0.5565 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.005068, allocations: 384 / 0.5565 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.00508, allocations: 4.375 kB / 0.5565 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.005272, allocations: 78.2 kB / 0.5566 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.00528, allocations: 4.125 kB / 0.5566 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.00529, allocations: 8.312 kB / 0.5566 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.005297, allocations: 8.125 kB / 0.5566 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.005467, allocations: 79.89 kB / 0.5567 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.005872, allocations: 263.9 kB / 0.5569 GB, free: 14.76 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.006014, allocations: 78.52 kB / 0.557 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.244e-05/0.006097, allocations: 44.91 kB / 0.557 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.006111, allocations: 3.938 kB / 0.557 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.006131, allocations: 34.56 kB / 0.5571 GB, free: 14.58 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.006132, allocations: 0 / 0.5571 GB, free: 14.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003603/0.006492, allocations: 157.5 kB / 0.5572 GB, free: 14.42 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.006522, allocations: 51.41 kB / 0.5573 GB, free: 14.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.401e-05/0.006596, allocations: 125.8 kB / 0.5574 GB, free: 14.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.006615, allocations: 25.7 kB / 0.5574 GB, free: 14.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.006665, allocations: 96.09 kB / 0.5575 GB, free: 14.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.006686, allocations: 7.891 kB / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.006714, allocations: 13.72 kB / 0.5575 GB, free: 14.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.825e-05/0.006792, allocations: 322.8 kB / 0.5578 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.574e-05/0.006878, allocations: 43.95 kB / 0.5579 GB, free: 13.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-05/0.00695, allocations: 35.95 kB / 0.5579 GB, free: 13.67 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.007096, allocations: 80.78 kB / 0.558 GB, free: 13.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.007099, allocations: 0 / 0.558 GB, free: 13.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000251/0.00735, allocations: 125.4 kB / 0.5581 GB, free: 13.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.007364, allocations: 11.98 kB / 0.5581 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.007369, allocations: 0 / 0.5581 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.007381, allocations: 0 / 0.5581 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.731e-05/0.007478, allocations: 19.98 kB / 0.5581 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.007486, allocations: 0 / 0.5581 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.007529, allocations: 15.98 kB / 0.5581 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.007535, allocations: 0 / 0.5581 GB, free: 13.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.503e-05/0.00761, allocations: 117.8 kB / 0.5583 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.007626, allocations: 7.891 kB / 0.5583 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.007651, allocations: 12 kB / 0.5583 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.007653, allocations: 0 / 0.5583 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.007658, allocations: 3.938 kB / 0.5583 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.007661, allocations: 0 / 0.5583 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.007789, allocations: 144.7 kB / 0.5584 GB, free: 13.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.007791, allocations: 0 / 0.5584 GB, free: 13.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.007846, allocations: 31.91 kB / 0.5584 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.007848, allocations: 0 / 0.5584 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.007857, allocations: 0 / 0.5584 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.007858, allocations: 0 / 0.5584 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.007859, allocations: 3.938 kB / 0.5584 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.008074, allocations: 215.7 kB / 0.5587 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-06/0.008083, allocations: 3.984 kB / 0.5587 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.008097, allocations: 7.984 kB / 0.5587 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.773e-05/0.008155, allocations: 15.97 kB / 0.5587 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.008198, allocations: 4 kB / 0.5587 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.008201, allocations: 0 / 0.5587 GB, free: 12.79 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.368e-05/0.008245, allocations: 99.27 kB / 0.5588 GB, free: 12.69 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008245, allocations: 0 / 0.5588 GB, free: 12.69 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001473/0.008392, allocations: 8 kB / 0.5588 GB, free: 12.68 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0004216/0.008814, allocations: 0.7474 MB / 0.5595 GB, free: 11.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.009014, allocations: 83.91 kB / 0.5596 GB, free: 11.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.009015, allocations: 0 / 0.5596 GB, free: 11.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.895e-05/0.009094, allocations: 43.95 kB / 0.5596 GB, free: 11.78 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.009278, allocations: 14.23 kB / 0.5597 GB, free: 11.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005102/0.009788, allocations: 174.5 kB / 0.5598 GB, free: 11.56 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.957e-05/0.009838, allocations: 79.52 kB / 0.5599 GB, free: 11.46 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.345e-05/0.009861, allocations: 0 / 0.5599 GB, free: 11.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.64e-05/0.009907, allocations: 24.48 kB / 0.5599 GB, free: 11.44 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.009908, allocations: 4 kB / 0.5599 GB, free: 11.43 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.02678, allocations: 2.558 MB / 0.5624 GB, free: 9.023 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.119/7.146, allocations: 14.31 kB / 0.5624 GB, free: 9.016 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear_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_Utilities_Math_Examples_QuadraticLinear.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.718820845708251] Failed to read output from testmodel.py, exit status != 0: 7.224609705619514 7.232164365 7.226274682 Calling exit ...