Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001273/0.001273, allocations: 111.1 kB / 16.46 MB, free: 6.453 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.001314/0.001314, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.423/1.423, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8784/0.8784, allocations: 133.9 MB / 442.8 MB, free: 11.34 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001852/0.001852, allocations: 73.17 kB / 0.6134 GB, free: 8.766 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1649, allocations: 85.85 MB / 0.6973 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002822/0.1678, allocations: 1.506 MB / 0.6987 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003463/0.1681, allocations: 116.5 kB / 0.6988 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.383e-05/0.1681, allocations: 0 / 0.6988 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.965e-05/0.1682, allocations: 7.922 kB / 0.6989 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.758e-05/0.1682, allocations: 7.938 kB / 0.6989 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.1685, allocations: 23.95 kB / 0.6989 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.028e-05/0.1686, allocations: 43.8 kB / 0.6989 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.238e-05/0.1687, allocations: 7.984 kB / 0.6989 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.13e-05/0.1687, allocations: 23.92 kB / 0.699 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.658e-05/0.1688, allocations: 19.92 kB / 0.699 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.1688, allocations: 4 kB / 0.699 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.52e-05/0.1688, allocations: 19.98 kB / 0.699 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.68e-05/0.1689, allocations: 11.98 kB / 0.699 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.1689, allocations: 27.8 kB / 0.699 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.1691, allocations: 56.08 kB / 0.6991 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1691, allocations: 0 / 0.6991 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1691, allocations: 0 / 0.6991 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.1691, allocations: 0 / 0.6991 GB, free: 1.117 MB / 0.5137 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.0006018/0.1697, allocations: 387.1 kB / 0.6995 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1697, allocations: 13.11 kB / 0.6995 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.045e-05/0.1698, allocations: 38.69 kB / 0.6995 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.1698, allocations: 8.891 kB / 0.6995 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.1699, allocations: 174.8 kB / 0.6997 GB, free: 424 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1699, allocations: 384 / 0.6997 GB, free: 424 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.17, allocations: 384 / 0.6997 GB, free: 424 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.1702, allocations: 82.14 kB / 0.6998 GB, free: 336 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1702, allocations: 7.938 kB / 0.6998 GB, free: 328 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1702, allocations: 0 / 0.6998 GB, free: 328 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1702, allocations: 0 / 0.6998 GB, free: 328 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003134/0.1706, allocations: 79.86 kB / 0.6998 GB, free: 248 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.171, allocations: 284.9 kB / 0.7001 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.1712, allocations: 66.53 kB / 0.7002 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.1714, allocations: 40.92 kB / 0.7002 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002862/0.1717, allocations: 109.1 kB / 0.7003 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.1717, allocations: 42.55 kB / 0.7004 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1717, allocations: 0 / 0.7004 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005906/0.1723, allocations: 145.5 kB / 0.7005 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.1723, allocations: 55.41 kB / 0.7006 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.1724, allocations: 129.8 kB / 0.7007 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.1725, allocations: 25.7 kB / 0.7007 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.1725, allocations: 88.14 kB / 0.7008 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.1726, allocations: 15.84 kB / 0.7008 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.1726, allocations: 13.72 kB / 0.7008 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1727, allocations: 318.8 kB / 0.7011 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.1729, allocations: 43.95 kB / 0.7012 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.173, allocations: 31.97 kB / 0.7012 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.1733, allocations: 88.92 kB / 0.7013 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1733, allocations: 0 / 0.7013 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003698/0.1737, allocations: 117.6 kB / 0.7014 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1737, allocations: 4 kB / 0.7014 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.1737, allocations: 7.984 kB / 0.7014 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1737, allocations: 0 / 0.7014 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.1739, allocations: 15.98 kB / 0.7014 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1739, allocations: 0 / 0.7014 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.074e-05/0.174, allocations: 15.97 kB / 0.7014 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.174, allocations: 4 kB / 0.7014 GB, free: 14.46 MB / 0.5294 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 8.767e-05/0.1741, allocations: 121.7 kB / 0.7016 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.1741, allocations: 4 kB / 0.7016 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004017/0.1745, allocations: 125.4 kB / 0.7017 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1745, allocations: 0 / 0.7017 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1745, allocations: 4 kB / 0.7017 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1745, allocations: 0 / 0.7017 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.1747, allocations: 185.6 kB / 0.7019 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1747, allocations: 0 / 0.7019 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.573e-05/0.1748, allocations: 11.98 kB / 0.7019 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1748, allocations: 4 kB / 0.7019 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.1748, allocations: 0 / 0.7019 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1748, allocations: 3.938 kB / 0.7019 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1748, allocations: 0 / 0.7019 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.1752, allocations: 211.3 kB / 0.7021 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/0.1753, allocations: 85.06 kB / 0.7022 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.1753, allocations: 0 / 0.7022 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.1754, allocations: 11.98 kB / 0.7022 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.1754, allocations: 3.984 kB / 0.7022 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1754, allocations: 8 kB / 0.7022 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.839e-05/0.1755, allocations: 99.27 kB / 0.7023 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1755, allocations: 0 / 0.7023 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002273/0.1757, allocations: 8 kB / 0.7023 GB, free: 13.48 MB / 0.5294 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.0007817/0.1765, allocations: 0.7475 MB / 0.703 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003769/0.1769, allocations: 75.86 kB / 0.7031 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1769, allocations: 4 kB / 0.7031 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.1771, allocations: 43.95 kB / 0.7031 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.1773, allocations: 6.031 kB / 0.7031 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005245/0.1778, allocations: 187.1 kB / 0.7033 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.1782, allocations: 0.6922 MB / 0.704 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.041e-05/0.1782, allocations: 4.375 kB / 0.704 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.1783, allocations: 23.44 kB / 0.704 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.1783, allocations: 3.938 kB / 0.704 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.2029, allocations: 1.881 MB / 0.7059 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/8.149, allocations: 13.75 kB / 0.7059 GB, free: 9.812 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear.fmu > IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.8191770179983] Failed to read output from testmodel.py, exit status != 0: 8.218315188991255 8.244426096 8.070661861 Calling exit ...