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.001333/0.001333, allocations: 103 kB / 16.45 MB, free: 6.449 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.001395/0.001395, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.462/1.462, 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.9025/0.9025, allocations: 134 MB / 442.8 MB, free: 11.32 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.001933/0.001933, allocations: 70.03 kB / 0.6134 GB, free: 8.781 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1781, allocations: 85.85 MB / 0.6972 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002388/0.1805, allocations: 1.286 MB / 0.6985 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5399/0.7204, allocations: 141 MB / 0.8362 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.305e-05/0.7204, allocations: 0 / 0.8362 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.7204, allocations: 6.312 kB / 0.8362 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.605e-05/0.7205, allocations: 3.938 kB / 0.8362 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.7217, allocations: 470 kB / 0.8366 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.996e-05/0.7218, allocations: 40.09 kB / 0.8367 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.7218, allocations: 10.89 kB / 0.8367 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.215e-05/0.7219, allocations: 17.98 kB / 0.8367 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.88e-05/0.722, allocations: 23.28 kB / 0.8367 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.722, allocations: 6.75 kB / 0.8367 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.7234, allocations: 0.8376 MB / 0.8375 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.7234, allocations: 14.7 kB / 0.8375 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.7234, allocations: 14.77 kB / 0.8376 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005587/0.724, allocations: 454.1 kB / 0.838 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.724, allocations: 0 / 0.838 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.724, allocations: 0 / 0.838 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.724, allocations: 0 / 0.838 GB, free: 7.066 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.0005575/0.7245, allocations: 376.1 kB / 0.8384 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.7246, allocations: 11.2 kB / 0.8384 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.186e-05/0.7246, allocations: 32.53 kB / 0.8384 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.7248, allocations: 16.7 kB / 0.8384 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.7249, allocations: 172.3 kB / 0.8386 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.7249, allocations: 2.375 kB / 0.8386 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.725, allocations: 13.7 kB / 0.8386 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.7251, allocations: 54.23 kB / 0.8386 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.7251, allocations: 0 / 0.8386 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.7251, allocations: 0 / 0.8386 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.7251, allocations: 0 / 0.8386 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.324e-05/0.7252, allocations: 18.11 kB / 0.8387 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/0.7254, allocations: 171.9 kB / 0.8388 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.7255, allocations: 56.11 kB / 0.8389 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/0.7255, allocations: 20.33 kB / 0.8389 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01208/0.7376, allocations: 3.194 MB / 0.842 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.323e-05/0.7377, allocations: 42.55 kB / 0.8421 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.054e-06/0.7377, allocations: 0 / 0.8421 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.04533/0.783, allocations: 14.99 MB / 0.8567 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.7831, allocations: 55.41 kB / 0.8567 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.749e-05/0.7831, allocations: 93.84 kB / 0.8568 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.7832, allocations: 33.77 kB / 0.8569 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/0.7832, allocations: 88.14 kB / 0.857 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.7833, allocations: 35.66 kB / 0.857 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.7833, allocations: 29.7 kB / 0.857 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.7835, allocations: 326.8 kB / 0.8573 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.64e-05/0.7835, allocations: 23.62 kB / 0.8574 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.385e-05/0.7836, allocations: 19.98 kB / 0.8574 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.7837, allocations: 72.78 kB / 0.8574 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.7837, allocations: 0 / 0.8574 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002246/0.7839, allocations: 101.2 kB / 0.8575 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.784, allocations: 4 kB / 0.8575 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.784, allocations: 4 kB / 0.8575 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.784, allocations: 0 / 0.8575 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.7841, allocations: 31.92 kB / 0.8576 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.7841, allocations: 0 / 0.8576 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/0.7841, allocations: 0 / 0.8576 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.7841, allocations: 11.94 kB / 0.8576 GB, free: 3.805 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.922e-05/0.7842, allocations: 117.8 kB / 0.8577 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/0.7843, allocations: 11.94 kB / 0.8577 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002821/0.7846, allocations: 129.5 kB / 0.8578 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.7846, allocations: 4 kB / 0.8578 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.7846, allocations: 3.938 kB / 0.8578 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.7846, allocations: 0 / 0.8578 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.7848, allocations: 173.6 kB / 0.858 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7848, allocations: 4 kB / 0.858 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.7849, allocations: 27.98 kB / 0.858 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.7849, allocations: 0 / 0.858 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.567e-06/0.7849, allocations: 0 / 0.858 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.7849, allocations: 4 kB / 0.858 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.7849, allocations: 0 / 0.858 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.7852, allocations: 159.5 kB / 0.8582 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.951e-05/0.7853, allocations: 89.09 kB / 0.8583 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.7853, allocations: 4 kB / 0.8583 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.7855, allocations: 15.98 kB / 0.8583 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/0.7855, allocations: 7.938 kB / 0.8583 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.7855, allocations: 11.98 kB / 0.8583 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 3.763e-05/0.7855, allocations: 75.28 kB / 0.8584 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7855, allocations: 0 / 0.8584 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001783/0.7873, allocations: 0.5699 MB / 0.8589 GB, free: 2.309 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.003631/0.7909, allocations: 0.9407 MB / 0.8599 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001813/0.7911, allocations: 59.97 kB / 0.8599 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7911, allocations: 3.938 kB / 0.8599 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.798e-05/0.7912, allocations: 31.98 kB / 0.86 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.7914, allocations: 11.5 kB / 0.86 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.7937, allocations: 1.556 MB / 0.8615 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.794, allocations: 0.6885 MB / 0.8622 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 8.418e-05/0.7941, allocations: 20.55 kB / 0.8622 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.7941, allocations: 27.42 kB / 0.8622 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of SimCode: time 8.81e-07/0.7942, allocations: 0 / 0.8622 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06242/0.8566, allocations: 25.47 MB / 0.8871 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.67/9.527, allocations: 0 / 0.8871 GB, free: 5.441 MB / 0.6544 GB " [Timeout remaining time 650] (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: 15.771515414002351] Failed to read output from testmodel.py, exit status != 0: 9.604998128997977 9.620696124 8.893704177 Calling exit ...