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.001324/0.001324, allocations: 117.8 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.001622/0.001622, allocations: 224.8 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.961 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 0.9584/0.9584, allocations: 150 MB / 463.2 MB, free: 10.41 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.002233/0.002233, allocations: 71.17 kB / 0.6412 GB, free: 10.31 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2132, allocations: 89.19 MB / 0.7283 GB, free: 1.195 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5938/0.807, allocations: 138.7 MB / 0.8637 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.000204/0.8072, allocations: 52.41 kB / 0.8638 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.8072, allocations: 0 / 0.8638 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.8074, allocations: 3.938 kB / 0.8638 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.71e-05/0.8075, allocations: 18.81 kB / 0.8638 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.8085, allocations: 250.6 kB / 0.8641 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.8086, allocations: 31.91 kB / 0.8641 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.8087, allocations: 2.656 kB / 0.8641 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.136e-05/0.8087, allocations: 14.33 kB / 0.8641 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.311e-05/0.8088, allocations: 20.73 kB / 0.8641 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.8088, allocations: 2.406 kB / 0.8641 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005256/0.8094, allocations: 261.6 kB / 0.8644 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.413e-05/0.8094, allocations: 10.06 kB / 0.8644 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.29e-05/0.8094, allocations: 8.719 kB / 0.8644 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003875/0.8098, allocations: 183.4 kB / 0.8646 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.8098, allocations: 0 / 0.8646 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8098, allocations: 0 / 0.8646 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.8098, allocations: 2.469 kB / 0.8646 GB, free: 9.883 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.0004202/0.8102, allocations: 290.3 kB / 0.8648 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.8103, allocations: 7.656 kB / 0.8648 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.8103, allocations: 37.47 kB / 0.8649 GB, free: 9.547 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.8104, allocations: 4.938 kB / 0.8649 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.8105, allocations: 108.7 kB / 0.865 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.615e-05/0.8105, allocations: 55.16 kB / 0.865 GB, free: 9.352 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.8106, allocations: 3.938 kB / 0.865 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.8107, allocations: 43.7 kB / 0.8651 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.8107, allocations: 0 / 0.8651 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.8107, allocations: 4 kB / 0.8651 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.8107, allocations: 6.547 kB / 0.8651 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.028e-05/0.8108, allocations: 7.875 kB / 0.8651 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006661/0.8114, allocations: 287.7 kB / 0.8654 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.566e-05/0.8115, allocations: 17.45 kB / 0.8654 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.537e-05/0.8115, allocations: 4.859 kB / 0.8654 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.069e-05/0.8116, allocations: 29.91 kB / 0.8654 GB, free: 8.977 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.8116, allocations: 41.09 kB / 0.8655 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.8116, allocations: 0 / 0.8655 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0001471/0.8118, allocations: 41.19 kB / 0.8655 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.8118, allocations: 51.41 kB / 0.8656 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.736e-05/0.8119, allocations: 102.7 kB / 0.8657 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.8119, allocations: 27.73 kB / 0.8657 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.8119, allocations: 84.09 kB / 0.8658 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.921e-06/0.812, allocations: 2.906 kB / 0.8658 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.812, allocations: 24.61 kB / 0.8658 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.8121, allocations: 314.8 kB / 0.8661 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.8121, allocations: 6.062 kB / 0.8661 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.977e-05/0.8122, allocations: 22.98 kB / 0.8661 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.717e-05/0.8122, allocations: 18.91 kB / 0.8661 GB, free: 8.215 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.8122, allocations: 0 / 0.8661 GB, free: 8.215 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.29e-05/0.8123, allocations: 52.88 kB / 0.8662 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.8123, allocations: 4.656 kB / 0.8662 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.8123, allocations: 0 / 0.8662 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.8123, allocations: 0 / 0.8662 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.809e-05/0.8124, allocations: 10.09 kB / 0.8662 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.8124, allocations: 2.562 kB / 0.8662 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.046e-05/0.8124, allocations: 3.953 kB / 0.8662 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.8124, allocations: 6.156 kB / 0.8662 GB, free: 8.16 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 8.353e-05/0.8125, allocations: 112.8 kB / 0.8663 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.8125, allocations: 7.984 kB / 0.8663 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.8126, allocations: 116 kB / 0.8664 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001013/0.8127, allocations: 182.3 kB / 0.8666 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-05/0.8128, allocations: 185.6 kB / 0.8668 GB, free: 7.547 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.059e-05/0.8129, allocations: 190.5 kB / 0.867 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.8132, allocations: 379.2 kB / 0.8673 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.937e-05/0.8132, allocations: 105 kB / 0.8674 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.8133, allocations: 107.7 kB / 0.8675 GB, free: 6.719 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.69e-05/0.8133, allocations: 176.3 kB / 0.8677 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.582e-05/0.8134, allocations: 184.2 kB / 0.8679 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.069e-05/0.8135, allocations: 178.6 kB / 0.868 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001243/0.8136, allocations: 184.2 kB / 0.8682 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.8138, allocations: 309.1 kB / 0.8685 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.8139, allocations: 108 kB / 0.8686 GB, free: 5.555 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.373e-05/0.814, allocations: 184.2 kB / 0.8688 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.8141, allocations: 111.8 kB / 0.8689 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.396e-05/0.8142, allocations: 182.6 kB / 0.8691 GB, free: 5.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.186e-05/0.8143, allocations: 101 kB / 0.8692 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.811e-05/0.8143, allocations: 90.89 kB / 0.8693 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.8143, allocations: 0 / 0.8693 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003413/0.8147, allocations: 56.8 kB / 0.8693 GB, free: 4.863 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.0006406/0.8153, allocations: 0.894 MB / 0.8702 GB, free: 4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 7.523e-05/0.8154, allocations: 9 kB / 0.8702 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8154, allocations: 0 / 0.8702 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 3.867e-06/0.8154, allocations: 3.938 kB / 0.8702 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.8158, allocations: 464.9 kB / 0.8706 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.817, allocations: 1.347 MB / 0.872 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.8173, allocations: 0.6746 MB / 0.8726 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.874e-05/0.8174, allocations: 6.062 kB / 0.8726 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.8174, allocations: 11.38 kB / 0.8726 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of SimCode: time 4.41e-07/0.8174, allocations: 0 / 0.8726 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.8475, allocations: 2.321 MB / 0.8749 GB, free: 216 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/12.07, allocations: 9.969 kB / 0.8749 GB, free: 212 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.840053539955989] Failed to read output from testmodel.py, exit status != 0: 12.174174774903804 12.197682677 11.383460246 Calling exit ...