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.001464/0.001464, allocations: 110.5 kB / 17.12 MB, free: 6.008 MB / 14.72 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.00148/0.00148, allocations: 211.2 kB / 20.1 MB, free: 3.055 MB / 14.72 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 1.596/1.596, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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 1.018/1.018, allocations: 150 MB / 459.5 MB, free: 5.688 MB / 350.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 68.72 kB / 0.6361 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1644, allocations: 89.14 MB / 0.7232 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002692/0.1671, allocations: 1.502 MB / 0.7246 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003133/0.1674, allocations: 111.7 kB / 0.7247 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.344e-05/0.1674, allocations: 0 / 0.7247 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.207e-05/0.1675, allocations: 7.922 kB / 0.7248 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.638e-05/0.1675, allocations: 3.938 kB / 0.7248 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.1678, allocations: 27.91 kB / 0.7248 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.509e-05/0.1678, allocations: 43.86 kB / 0.7248 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.45e-05/0.1679, allocations: 11.97 kB / 0.7248 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.953e-05/0.168, allocations: 23.92 kB / 0.7249 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.657e-05/0.168, allocations: 15.92 kB / 0.7249 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.168, allocations: 4 kB / 0.7249 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.141e-05/0.1681, allocations: 27.92 kB / 0.7249 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.458e-05/0.1682, allocations: 15.92 kB / 0.7249 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.1682, allocations: 23.86 kB / 0.7249 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.1683, allocations: 56.08 kB / 0.725 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1683, allocations: 0 / 0.725 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1683, allocations: 4 kB / 0.725 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.375e-06/0.1683, allocations: 3.938 kB / 0.725 GB, free: 2.184 MB / 0.5294 GB 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.0005697/0.1689, allocations: 383.1 kB / 0.7254 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1689, allocations: 12.03 kB / 0.7254 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.169, allocations: 30.75 kB / 0.7254 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/0.1692, allocations: 28.86 kB / 0.7254 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.1694, allocations: 176.3 kB / 0.7256 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.1694, allocations: 384 / 0.7256 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.1694, allocations: 4.375 kB / 0.7256 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.1697, allocations: 82.14 kB / 0.7257 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1697, allocations: 3.938 kB / 0.7257 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1697, allocations: 0 / 0.7257 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1697, allocations: 0 / 0.7257 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.17, allocations: 83.91 kB / 0.7258 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004824/0.1705, allocations: 296.9 kB / 0.7261 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.1708, allocations: 82.45 kB / 0.7261 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.171, allocations: 46.8 kB / 0.7262 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.171, allocations: 0 / 0.7262 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.171, allocations: 34.56 kB / 0.7262 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.171, allocations: 3.938 kB / 0.7262 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0006257/0.1716, allocations: 153.5 kB / 0.7264 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.1717, allocations: 55.41 kB / 0.7264 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.1718, allocations: 124.6 kB / 0.7265 GB, free: 424 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.1718, allocations: 29.64 kB / 0.7266 GB, free: 388 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.548e-05/0.1719, allocations: 92.12 kB / 0.7266 GB, free: 292 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.1719, allocations: 15.84 kB / 0.7267 GB, free: 276 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.172, allocations: 17.72 kB / 0.7267 GB, free: 252 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.1721, allocations: 318.8 kB / 0.727 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.1723, allocations: 39.95 kB / 0.727 GB, free: 15.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.1725, allocations: 39.95 kB / 0.7271 GB, free: 15.85 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.1728, allocations: 88.72 kB / 0.7271 GB, free: 15.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1728, allocations: 0 / 0.7271 GB, free: 15.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003702/0.1732, allocations: 109.9 kB / 0.7272 GB, free: 15.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1732, allocations: 5.719 kB / 0.7273 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1732, allocations: 3.938 kB / 0.7273 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.1732, allocations: 3.984 kB / 0.7273 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.1733, allocations: 23.97 kB / 0.7273 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.1733, allocations: 0 / 0.7273 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.1735, allocations: 23.92 kB / 0.7273 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.1735, allocations: 0 / 0.7273 GB, free: 15.59 MB / 0.545 GB 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 0.0001101/0.1736, allocations: 117.8 kB / 0.7274 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.1736, allocations: 4 kB / 0.7274 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/0.1736, allocations: 15.91 kB / 0.7274 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1736, allocations: 4 kB / 0.7274 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1737, allocations: 0 / 0.7274 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1737, allocations: 0 / 0.7274 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.1739, allocations: 185.5 kB / 0.7276 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1739, allocations: 0 / 0.7276 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.174, allocations: 15.98 kB / 0.7276 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.174, allocations: 0 / 0.7276 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.174, allocations: 0 / 0.7276 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.174, allocations: 0 / 0.7276 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.174, allocations: 0 / 0.7276 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004374/0.1744, allocations: 227.3 kB / 0.7279 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.1745, allocations: 81.06 kB / 0.7279 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.1745, allocations: 0 / 0.7279 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.1746, allocations: 15.98 kB / 0.7279 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.1747, allocations: 11.98 kB / 0.728 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.1747, allocations: 4 kB / 0.728 GB, free: 14.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.914e-05/0.1748, allocations: 95.27 kB / 0.7281 GB, free: 14.72 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1748, allocations: 0 / 0.7281 GB, free: 14.72 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002241/0.175, allocations: 15.94 kB / 0.7281 GB, free: 14.71 MB / 0.545 GB 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.0007981/0.1758, allocations: 0.7436 MB / 0.7288 GB, free: 13.94 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003801/0.1762, allocations: 83.84 kB / 0.7289 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1762, allocations: 0 / 0.7289 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.1763, allocations: 43.95 kB / 0.7289 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.1766, allocations: 11.98 kB / 0.7289 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005173/0.1771, allocations: 187 kB / 0.7291 GB, free: 13.58 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.1775, allocations: 0.6846 MB / 0.7298 GB, free: 12.87 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.378e-05/0.1775, allocations: 11.94 kB / 0.7298 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.1775, allocations: 11.44 kB / 0.7298 GB, free: 12.85 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.1775, allocations: 3.938 kB / 0.7298 GB, free: 12.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.2024, allocations: 1.853 MB / 0.7316 GB, free: 11.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.068/8.27, allocations: 8.594 kB / 0.7316 GB, free: 11.09 MB / 0.545 GB " [Timeout remaining time 652] (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: 12.352127309888601] Failed to read output from testmodel.py, exit status != 0: 8.338295933092013 8.354585619 8.183085726 Calling exit ...