Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.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.001726/0.001726, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001534/0.001534, allocations: 219.8 kB / 22.26 MB, free: 5.125 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.445/1.445, allocations: 230.6 MB / 256 MB, free: 8 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.8606/0.8606, allocations: 134 MB / 446.4 MB, free: 10.21 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.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck",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.002002/0.002002, allocations: 75.19 kB / 0.6185 GB, free: 7.262 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1789, allocations: 85.91 MB / 0.7024 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002446/0.1814, allocations: 1.287 MB / 0.7037 GB, free: 148 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5706/0.752, allocations: 141 MB / 0.8414 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.698e-05/0.752, allocations: 0 / 0.8414 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.7521, allocations: 4 kB / 0.8414 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.681e-05/0.7521, allocations: 7.922 kB / 0.8414 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.7539, allocations: 480.2 kB / 0.8418 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.754, allocations: 39.47 kB / 0.8419 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/0.754, allocations: 6.891 kB / 0.8419 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.546e-05/0.7541, allocations: 18.06 kB / 0.8419 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.7542, allocations: 27.67 kB / 0.8419 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.7542, allocations: 1.812 kB / 0.8419 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.7558, allocations: 0.8301 MB / 0.8427 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.7558, allocations: 13.56 kB / 0.8428 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.7558, allocations: 23.91 kB / 0.8428 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006171/0.7564, allocations: 449 kB / 0.8432 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.7564, allocations: 0 / 0.8432 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7564, allocations: 0 / 0.8432 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.7564, allocations: 2.375 kB / 0.8432 GB, free: 5.477 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000527/0.757, allocations: 296.4 kB / 0.8435 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.757, allocations: 9.906 kB / 0.8435 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.963e-05/0.757, allocations: 34.75 kB / 0.8435 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.7572, allocations: 16.73 kB / 0.8436 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.7573, allocations: 109.1 kB / 0.8437 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.7573, allocations: 3.219 kB / 0.8437 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.7574, allocations: 18.52 kB / 0.8437 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.7575, allocations: 58.69 kB / 0.8437 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.7575, allocations: 3.938 kB / 0.8437 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.7575, allocations: 0 / 0.8437 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.7575, allocations: 2.094 kB / 0.8437 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.09e-05/0.7576, allocations: 18.23 kB / 0.8438 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002058/0.7578, allocations: 140 kB / 0.8439 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.7579, allocations: 47.38 kB / 0.8439 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.445e-05/0.7579, allocations: 21.69 kB / 0.844 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01048/0.7684, allocations: 2.855 MB / 0.8467 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.7685, allocations: 36.25 kB / 0.8468 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.7685, allocations: 0 / 0.8468 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.04196/0.8104, allocations: 14.93 MB / 0.8614 GB, free: 3.555 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.8105, allocations: 55.41 kB / 0.8614 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.093e-05/0.8106, allocations: 89.86 kB / 0.8615 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.8106, allocations: 33.83 kB / 0.8615 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/0.8106, allocations: 80.14 kB / 0.8616 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.757e-05/0.8107, allocations: 43.64 kB / 0.8617 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.428e-05/0.8107, allocations: 29.7 kB / 0.8617 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.8109, allocations: 322.8 kB / 0.862 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.841e-05/0.811, allocations: 27.98 kB / 0.862 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.838e-05/0.811, allocations: 19.98 kB / 0.862 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.8111, allocations: 64.8 kB / 0.8621 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.8111, allocations: 4 kB / 0.8621 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002321/0.8114, allocations: 97.67 kB / 0.8622 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.8114, allocations: 4 kB / 0.8622 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.8114, allocations: 1.75 kB / 0.8622 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.8114, allocations: 4 kB / 0.8622 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.8115, allocations: 27.98 kB / 0.8622 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.8115, allocations: 0 / 0.8622 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.496e-05/0.8116, allocations: 0 / 0.8622 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.8116, allocations: 4 kB / 0.8622 GB, free: 2.609 MB / 0.6231 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 (14): * Single equations (assignments): 14 * 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.959e-05/0.8117, allocations: 129.7 kB / 0.8624 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.8117, allocations: 3.953 kB / 0.8624 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.812, allocations: 124.9 kB / 0.8625 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.812, allocations: 0 / 0.8625 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.812, allocations: 0 / 0.8625 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.812, allocations: 4 kB / 0.8625 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.8122, allocations: 152.7 kB / 0.8626 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.8122, allocations: 4 kB / 0.8626 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.8123, allocations: 31.92 kB / 0.8627 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.8123, allocations: 0 / 0.8627 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.8123, allocations: 7.734 kB / 0.8627 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.8123, allocations: 4 kB / 0.8627 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.8123, allocations: 3.984 kB / 0.8627 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.8126, allocations: 152.9 kB / 0.8628 GB, free: 1.934 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.8127, allocations: 11.98 kB / 0.8628 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.8127, allocations: 8 kB / 0.8628 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.8129, allocations: 11.98 kB / 0.8629 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.8129, allocations: 7.984 kB / 0.8629 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.8129, allocations: 11.94 kB / 0.8629 GB, free: 1.883 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 3.85e-05/0.8129, allocations: 75.28 kB / 0.8629 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.8129, allocations: 0 / 0.8629 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001783/0.8147, allocations: 0.5699 MB / 0.8635 GB, free: 1.238 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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.003422/0.8181, allocations: 0.9473 MB / 0.8644 GB, free: 272 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000176/0.8183, allocations: 59.91 kB / 0.8645 GB, free: 212 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8183, allocations: 0 / 0.8645 GB, free: 212 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.551e-05/0.8184, allocations: 35.88 kB / 0.8645 GB, free: 176 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.8186, allocations: 15.92 kB / 0.8645 GB, free: 160 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.8208, allocations: 1.544 MB / 0.866 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.8212, allocations: 0.6924 MB / 0.8667 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 8.646e-05/0.8213, allocations: 24.55 kB / 0.8667 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.927e-05/0.8213, allocations: 19.44 kB / 0.8668 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of SimCode: time 4.3e-07/0.8213, allocations: 0 / 0.8668 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0642/0.8855, allocations: 25.64 MB / 0.8918 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.8, allocations: 6.094 kB / 0.8918 GB, free: 4.258 MB / 0.6544 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.10276183800306] Failed to read output from testmodel.py, exit status != 0: 12.907324939995306 12.924381957 12.164533079 Calling exit ...