Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001273/0.001273, allocations: 119 kB / 19.69 MB, free: 2.199 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.001479/0.001479, allocations: 221.7 kB / 23.01 MB, free: 5.043 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.019/1.019, allocations: 150 MB / 463.2 MB, free: 10.57 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002405/0.002405, allocations: 66.42 kB / 0.6412 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2091, allocations: 89.17 MB / 0.7283 GB, free: 1.34 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5823/0.7914, allocations: 138.7 MB / 0.8637 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.000199/0.7916, allocations: 50.11 kB / 0.8638 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.07e-05/0.7916, allocations: 0 / 0.8638 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.7917, allocations: 2.188 kB / 0.8638 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.836e-05/0.7918, allocations: 21.69 kB / 0.8638 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009976/0.7928, allocations: 251.6 kB / 0.864 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.7929, allocations: 33.97 kB / 0.8641 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.565e-05/0.793, allocations: 4 kB / 0.8641 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.694e-05/0.793, allocations: 22.78 kB / 0.8641 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.611e-05/0.7931, allocations: 13.77 kB / 0.8641 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.7931, allocations: 2.375 kB / 0.8641 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005868/0.7937, allocations: 259.5 kB / 0.8644 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.284e-05/0.7938, allocations: 2.094 kB / 0.8644 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.7938, allocations: 16.66 kB / 0.8644 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004064/0.7942, allocations: 179.7 kB / 0.8646 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7942, allocations: 0 / 0.8646 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7942, allocations: 3 kB / 0.8646 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.7942, allocations: 4 kB / 0.8646 GB, free: 10.08 MB / 0.6387 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.0004965/0.7947, allocations: 294.4 kB / 0.8648 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.7948, allocations: 10.47 kB / 0.8649 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.7948, allocations: 30.75 kB / 0.8649 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.7949, allocations: 3.031 kB / 0.8649 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.795, allocations: 109.2 kB / 0.865 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.783e-05/0.7951, allocations: 55.91 kB / 0.865 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.7951, allocations: 7.125 kB / 0.865 GB, free: 9.547 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.7952, allocations: 56.16 kB / 0.8651 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.7952, allocations: 0 / 0.8651 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.7952, allocations: 0 / 0.8651 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.7952, allocations: 0 / 0.8651 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.166e-05/0.7953, allocations: 13.98 kB / 0.8651 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007745/0.7961, allocations: 275.3 kB / 0.8654 GB, free: 9.223 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.55e-05/0.7961, allocations: 25.14 kB / 0.8654 GB, free: 9.191 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.877e-05/0.7961, allocations: 4.859 kB / 0.8654 GB, free: 9.184 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.302e-05/0.7962, allocations: 33.16 kB / 0.8654 GB, free: 9.168 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.7963, allocations: 30.56 kB / 0.8655 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 1.783e-06/0.7963, allocations: 0 / 0.8655 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0001805/0.7965, allocations: 39.42 kB / 0.8655 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.7965, allocations: 53.72 kB / 0.8656 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.7966, allocations: 106.5 kB / 0.8657 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.7966, allocations: 28.61 kB / 0.8657 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.7967, allocations: 88.08 kB / 0.8658 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.414e-06/0.7967, allocations: 4 kB / 0.8658 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.7968, allocations: 14.59 kB / 0.8658 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.7969, allocations: 314.8 kB / 0.8661 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.7969, allocations: 6.594 kB / 0.8661 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.797, allocations: 19.11 kB / 0.8661 GB, free: 8.438 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.149e-05/0.797, allocations: 23.53 kB / 0.8661 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.797, allocations: 0 / 0.8661 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.423e-05/0.7971, allocations: 50.25 kB / 0.8662 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.7971, allocations: 7.562 kB / 0.8662 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.7971, allocations: 0 / 0.8662 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.7972, allocations: 3.938 kB / 0.8662 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.984e-05/0.7972, allocations: 9.031 kB / 0.8662 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.7972, allocations: 4.75 kB / 0.8662 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.128e-05/0.7973, allocations: 6.203 kB / 0.8662 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.7973, allocations: 10.83 kB / 0.8662 GB, free: 8.348 MB / 0.6387 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 9.053e-05/0.7974, allocations: 109.8 kB / 0.8663 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.7974, allocations: 2.75 kB / 0.8663 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.7976, allocations: 115.1 kB / 0.8664 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001039/0.7977, allocations: 184.2 kB / 0.8666 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.045e-05/0.7978, allocations: 187 kB / 0.8668 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.633e-05/0.7979, allocations: 176.3 kB / 0.867 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.7982, allocations: 385.9 kB / 0.8673 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.544e-05/0.7982, allocations: 101 kB / 0.8674 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.3e-05/0.7983, allocations: 102 kB / 0.8675 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001483/0.7984, allocations: 186.5 kB / 0.8677 GB, free: 6.738 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.76e-05/0.7985, allocations: 184.2 kB / 0.8679 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001447/0.7987, allocations: 187 kB / 0.8681 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.714e-05/0.7988, allocations: 176.3 kB / 0.8682 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.799, allocations: 308.5 kB / 0.8685 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.076e-05/0.7991, allocations: 109 kB / 0.8686 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.7992, allocations: 187.8 kB / 0.8688 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.7994, allocations: 103.4 kB / 0.8689 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.7995, allocations: 184.2 kB / 0.8691 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.997e-05/0.7995, allocations: 103.9 kB / 0.8692 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 8.144e-05/0.7996, allocations: 95.59 kB / 0.8693 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.7996, allocations: 0 / 0.8693 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000447/0.8, allocations: 54.33 kB / 0.8693 GB, free: 5.062 MB / 0.6387 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.0008607/0.8009, allocations: 0.8964 MB / 0.8702 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.801, allocations: 4.375 kB / 0.8702 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.801, allocations: 3.938 kB / 0.8702 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.208e-06/0.801, allocations: 6.984 kB / 0.8702 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/0.8016, allocations: 469.4 kB / 0.8707 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.803, allocations: 1.342 MB / 0.872 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.8033, allocations: 0.6718 MB / 0.8726 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.25e-05/0.8034, allocations: 9.922 kB / 0.8726 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.8034, allocations: 14.02 kB / 0.8726 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of SimCode: time 1.583e-06/0.8034, allocations: 0 / 0.8726 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/0.8354, allocations: 2.302 MB / 0.8749 GB, free: 424 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/12.05, allocations: 16.59 kB / 0.8749 GB, free: 416 kB / 0.6387 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.113051913001982] Failed to read output from testmodel.py, exit status != 0: 12.157714206001401 12.172587563 11.374924202 Calling exit ...