Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.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.001334/0.001334, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001643/0.001643, allocations: 215.1 kB / 22.25 MB, free: 5.082 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 8.02 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.8741/0.8741, allocations: 134 MB / 446.4 MB, free: 10.27 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.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",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.001995/0.001995, allocations: 74.5 kB / 0.6185 GB, free: 7.246 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1986, allocations: 85.9 MB / 0.7024 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.6218/0.8204, allocations: 138.7 MB / 0.8379 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001648/0.8206, allocations: 49.41 kB / 0.8379 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.362e-05/0.8206, allocations: 0 / 0.8379 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.8207, allocations: 3.938 kB / 0.8379 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.864e-05/0.8208, allocations: 18.66 kB / 0.8379 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008689/0.8217, allocations: 254.5 kB / 0.8382 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.264e-05/0.8218, allocations: 37.69 kB / 0.8382 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.728e-05/0.8218, allocations: 0 / 0.8382 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.117e-05/0.8218, allocations: 21.52 kB / 0.8382 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.313e-05/0.8219, allocations: 9.797 kB / 0.8383 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.8219, allocations: 2.438 kB / 0.8383 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005023/0.8224, allocations: 260.2 kB / 0.8385 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.487e-05/0.8225, allocations: 10.56 kB / 0.8385 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.8225, allocations: 17.25 kB / 0.8385 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.8228, allocations: 193.9 kB / 0.8387 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.8228, allocations: 0 / 0.8387 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8228, allocations: 0 / 0.8387 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.8228, allocations: 0 / 0.8387 GB, free: 8.934 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004243/0.8232, allocations: 286.8 kB / 0.839 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.8233, allocations: 9.562 kB / 0.839 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.8233, allocations: 33.56 kB / 0.839 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.8233, allocations: 0.9375 kB / 0.839 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.644e-05/0.8234, allocations: 109 kB / 0.8391 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.128e-05/0.8235, allocations: 54.44 kB / 0.8392 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.8235, allocations: 3.938 kB / 0.8392 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.8237, allocations: 52.02 kB / 0.8392 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.8237, allocations: 0 / 0.8392 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.8237, allocations: 0 / 0.8392 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.8237, allocations: 2.219 kB / 0.8392 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.751e-05/0.8238, allocations: 16.52 kB / 0.8393 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00064/0.8244, allocations: 283.3 kB / 0.8395 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.121e-05/0.8244, allocations: 25.28 kB / 0.8396 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.737e-05/0.8244, allocations: 8.859 kB / 0.8396 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-05/0.8245, allocations: 25.33 kB / 0.8396 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.8245, allocations: 34.56 kB / 0.8396 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.8245, allocations: 6.156 kB / 0.8396 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001432/0.8247, allocations: 40.75 kB / 0.8397 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.8247, allocations: 51.41 kB / 0.8397 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.039e-05/0.8248, allocations: 101.2 kB / 0.8398 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.8248, allocations: 29.64 kB / 0.8398 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.032e-05/0.8249, allocations: 92.08 kB / 0.8399 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.797e-06/0.8249, allocations: 6.703 kB / 0.8399 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.825, allocations: 12.16 kB / 0.8399 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.8251, allocations: 322.8 kB / 0.8402 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.604e-05/0.8251, allocations: 6.734 kB / 0.8403 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.358e-05/0.8251, allocations: 14.62 kB / 0.8403 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.8252, allocations: 18.88 kB / 0.8403 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.8252, allocations: 2.625 kB / 0.8403 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.249e-05/0.8252, allocations: 57.89 kB / 0.8403 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.8253, allocations: 5.375 kB / 0.8404 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.8253, allocations: 0 / 0.8404 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.8253, allocations: 1.875 kB / 0.8404 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.84e-05/0.8253, allocations: 4.938 kB / 0.8404 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.8253, allocations: 6.172 kB / 0.8404 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.573e-05/0.8253, allocations: 0 / 0.8404 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.8253, allocations: 7.906 kB / 0.8404 GB, free: 7.207 MB / 0.6075 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 (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 7.485e-05/0.8254, allocations: 108.6 kB / 0.8405 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.8254, allocations: 4 kB / 0.8405 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.8256, allocations: 123 kB / 0.8406 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-05/0.8256, allocations: 179.2 kB / 0.8408 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.388e-05/0.8257, allocations: 184.3 kB / 0.8409 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.145e-05/0.8258, allocations: 178.1 kB / 0.8411 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.826, allocations: 386.9 kB / 0.8415 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.275e-05/0.8261, allocations: 103.5 kB / 0.8416 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.176e-05/0.8261, allocations: 104 kB / 0.8417 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-05/0.8262, allocations: 184.2 kB / 0.8419 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.71e-05/0.8263, allocations: 185.4 kB / 0.842 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.168e-05/0.8263, allocations: 182.5 kB / 0.8422 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.63e-05/0.8264, allocations: 180.3 kB / 0.8424 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.8266, allocations: 312.2 kB / 0.8427 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.8266, allocations: 107.8 kB / 0.8428 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.8267, allocations: 188.1 kB / 0.843 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.8269, allocations: 111.8 kB / 0.8431 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.838e-05/0.827, allocations: 182.3 kB / 0.8432 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/0.827, allocations: 101 kB / 0.8433 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.327e-05/0.8271, allocations: 88.75 kB / 0.8434 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.8271, allocations: 0 / 0.8434 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003247/0.8274, allocations: 57.95 kB / 0.8435 GB, free: 3.906 MB / 0.6075 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 (0): * Single equations (assignments): 0 * 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.0006418/0.828, allocations: 0.891 MB / 0.8443 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.879e-05/0.8281, allocations: 9.266 kB / 0.8444 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.8281, allocations: 2.719 kB / 0.8444 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.8281, allocations: 0 / 0.8444 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.8285, allocations: 457.8 kB / 0.8448 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.8297, allocations: 1.353 MB / 0.8461 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.83, allocations: 0.6716 MB / 0.8468 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.041e-05/0.8301, allocations: 7.047 kB / 0.8468 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.8301, allocations: 9.719 kB / 0.8468 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.8301, allocations: 0 / 0.8468 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.8581, allocations: 2.322 MB / 0.8491 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.75, allocations: 10 kB / 0.8491 GB, free: 15.27 MB / 0.6231 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion_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_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.624417797997012] Failed to read output from testmodel.py, exit status != 0: 11.84696055400127 11.870729547 11.043234204 Calling exit ...