Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example5.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.0019/0.0019, allocations: 107.7 kB / 16.45 MB, free: 6.5 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.002225/0.002225, allocations: 212.9 kB / 19.42 MB, free: 3.66 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.401/1.401, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.817/0.817, allocations: 134 MB / 442.8 MB, free: 11.3 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.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example5",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.001933/0.001933, allocations: 82.02 kB / 0.6134 GB, free: 8.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1693, allocations: 85.85 MB / 0.6972 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001849/0.1711, allocations: 0.5171 MB / 0.6978 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002044/0.1713, allocations: 47.8 kB / 0.6978 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.497e-05/0.1714, allocations: 0 / 0.6978 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.886e-05/0.1714, allocations: 0 / 0.6978 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.1716, allocations: 11.94 kB / 0.6978 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 5.331e-05/0.1716, allocations: 0 / 0.6978 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.157e-05/0.1717, allocations: 11.98 kB / 0.6978 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.808e-05/0.1717, allocations: 4 kB / 0.6978 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.394e-05/0.1718, allocations: 3.984 kB / 0.6978 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.107e-05/0.1719, allocations: 11.92 kB / 0.6978 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.1719, allocations: 0 / 0.6978 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.372e-05/0.1719, allocations: 4 kB / 0.6978 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.899e-05/0.1719, allocations: 7.938 kB / 0.6979 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.172, allocations: 3.938 kB / 0.6979 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 7.285e-05/0.172, allocations: 11.98 kB / 0.6979 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1721, allocations: 0 / 0.6979 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.547e-06/0.1721, allocations: 4 kB / 0.6979 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.1721, allocations: 0 / 0.6979 GB, free: 2.34 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005294/0.1726, allocations: 331.7 kB / 0.6982 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.1726, allocations: 13.11 kB / 0.6982 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.1727, allocations: 30.75 kB / 0.6982 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.1727, allocations: 4.891 kB / 0.6982 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.1729, allocations: 176.3 kB / 0.6984 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.7e-06/0.1729, allocations: 4.375 kB / 0.6984 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.173, allocations: 8.125 kB / 0.6984 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.877e-05/0.1731, allocations: 33.69 kB / 0.6984 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1731, allocations: 4 kB / 0.6985 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.1731, allocations: 3.938 kB / 0.6985 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1731, allocations: 0 / 0.6985 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.009e-05/0.1731, allocations: 3.938 kB / 0.6985 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/0.1733, allocations: 149.7 kB / 0.6986 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.231e-05/0.1733, allocations: 30.59 kB / 0.6986 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/0.1734, allocations: 12.86 kB / 0.6986 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.1734, allocations: 0 / 0.6986 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.1734, allocations: 30.97 kB / 0.6987 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.1734, allocations: 0 / 0.6987 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.000158/0.1736, allocations: 45.62 kB / 0.6987 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.1736, allocations: 55.34 kB / 0.6988 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.1737, allocations: 110 kB / 0.6989 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.1737, allocations: 29.7 kB / 0.6989 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.1738, allocations: 88.12 kB / 0.699 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.1738, allocations: 3.953 kB / 0.699 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.1738, allocations: 9.719 kB / 0.699 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.174, allocations: 318.8 kB / 0.6993 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.472e-05/0.174, allocations: 0 / 0.6993 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.819e-05/0.174, allocations: 21.7 kB / 0.6993 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.678e-05/0.1741, allocations: 25.66 kB / 0.6993 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1741, allocations: 0 / 0.6993 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.315e-05/0.1741, allocations: 45.62 kB / 0.6994 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1742, allocations: 11.98 kB / 0.6994 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.1742, allocations: 0 / 0.6994 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1742, allocations: 0 / 0.6994 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.934e-05/0.1742, allocations: 12.06 kB / 0.6994 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1742, allocations: 0 / 0.6994 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.227e-05/0.1743, allocations: 0 / 0.6994 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.1743, allocations: 4 kB / 0.6994 GB, free: 0.5156 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 9.152e-05/0.1744, allocations: 113.8 kB / 0.6995 GB, free: 404 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.1744, allocations: 11.89 kB / 0.6995 GB, free: 392 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.1745, allocations: 48.8 kB / 0.6996 GB, free: 336 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1745, allocations: 0 / 0.6996 GB, free: 336 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.1745, allocations: 4 kB / 0.6996 GB, free: 332 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1745, allocations: 4.031 kB / 0.6996 GB, free: 328 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.1746, allocations: 157.5 kB / 0.6997 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1746, allocations: 0 / 0.6997 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.072e-05/0.1747, allocations: 7.938 kB / 0.6997 GB, free: 112 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1747, allocations: 4.234 kB / 0.6998 GB, free: 108 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.1747, allocations: 4 kB / 0.6998 GB, free: 104 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1747, allocations: 4 kB / 0.6998 GB, free: 100 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.1747, allocations: 7.969 kB / 0.6998 GB, free: 92 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.1749, allocations: 81.11 kB / 0.6998 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.1749, allocations: 77.11 kB / 0.6999 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.1749, allocations: 3.938 kB / 0.6999 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.047e-05/0.1749, allocations: 0 / 0.6999 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.175, allocations: 4.031 kB / 0.6999 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.175, allocations: 0 / 0.6999 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.236e-05/0.175, allocations: 87.27 kB / 0.7 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.175, allocations: 4 kB / 0.7 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001801/0.1752, allocations: 0 / 0.7 GB, free: 15.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0004366/0.1756, allocations: 0.6241 MB / 0.7006 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.177e-05/0.1757, allocations: 8 kB / 0.7006 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1757, allocations: 0 / 0.7006 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.28e-05/0.1757, allocations: 20.14 kB / 0.7007 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.1759, allocations: 4 kB / 0.7007 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.1769, allocations: 1.135 MB / 0.7018 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.1773, allocations: 0.6844 MB / 0.7024 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.17e-05/0.1773, allocations: 0 / 0.7024 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.1773, allocations: 7.438 kB / 0.7024 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1773, allocations: 0 / 0.7024 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.2012, allocations: 1.197 MB / 0.7036 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.505/7.706, allocations: 2.5 kB / 0.7036 GB, free: 12.06 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IDEAS_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.263498006999725] Failed to read output from testmodel.py, exit status != 0: 7.769916351011489 7.784758623 7.609868437 Calling exit ...