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.002083/0.002083, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002532/0.002532, allocations: 212.7 kB / 23.78 MB, free: 4.555 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.514/1.514, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.9958/0.9958, allocations: 150 MB / 463.9 MB, free: 10.28 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="cs",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.002094/0.002094, allocations: 62.44 kB / 0.6419 GB, free: 9.992 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1997, allocations: 89.18 MB / 0.729 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5445/0.7441, allocations: 118.9 MB / 0.8451 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0002114/0.7443, allocations: 54.36 kB / 0.8452 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.305e-05/0.7444, allocations: 0 / 0.8452 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.7445, allocations: 0 / 0.8452 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 9.532e-05/0.7446, allocations: 15.27 kB / 0.8452 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009526/0.7455, allocations: 248.7 kB / 0.8454 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.909e-05/0.7456, allocations: 38.22 kB / 0.8455 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.7457, allocations: 2.938 kB / 0.8455 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 3.861e-05/0.7457, allocations: 19.77 kB / 0.8455 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 8.463e-05/0.7458, allocations: 13.53 kB / 0.8455 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.7458, allocations: 2.906 kB / 0.8455 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003971/0.7462, allocations: 176.8 kB / 0.8457 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.982e-05/0.7463, allocations: 14.39 kB / 0.8457 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.572e-05/0.7463, allocations: 4.969 kB / 0.8457 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.7466, allocations: 167.9 kB / 0.8459 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7466, allocations: 0 / 0.8459 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7466, allocations: 0 / 0.8459 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.7466, allocations: 0 / 0.8459 GB, free: 9.574 MB / 0.6231 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.0005005/0.7471, allocations: 291.7 kB / 0.8461 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.7472, allocations: 8.062 kB / 0.8461 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.312e-05/0.7472, allocations: 6.969 kB / 0.8462 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.577e-05/0.7473, allocations: 34.73 kB / 0.8462 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.7473, allocations: 0.9375 kB / 0.8462 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.7474, allocations: 104.9 kB / 0.8463 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.024e-05/0.7475, allocations: 58.56 kB / 0.8463 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.7475, allocations: 1.781 kB / 0.8463 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.7477, allocations: 73.73 kB / 0.8464 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.7477, allocations: 0 / 0.8464 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.7477, allocations: 0 / 0.8464 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.7477, allocations: 7 kB / 0.8464 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.544e-05/0.7478, allocations: 12.17 kB / 0.8464 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007157/0.7485, allocations: 276.9 kB / 0.8467 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 5.049e-05/0.7485, allocations: 22.55 kB / 0.8467 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/0.7485, allocations: 7.047 kB / 0.8467 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-05/0.7486, allocations: 32.14 kB / 0.8468 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.7487, allocations: 33.47 kB / 0.8468 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 1.342e-06/0.7487, allocations: 0 / 0.8468 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001626/0.7488, allocations: 42.89 kB / 0.8468 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.7489, allocations: 53.75 kB / 0.8469 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.565e-05/0.749, allocations: 99.67 kB / 0.847 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.749, allocations: 29.69 kB / 0.847 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.7491, allocations: 90.34 kB / 0.8471 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.732e-06/0.7491, allocations: 0 / 0.8471 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.7491, allocations: 15.09 kB / 0.8471 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.7493, allocations: 316.3 kB / 0.8474 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.974e-05/0.7493, allocations: 10.92 kB / 0.8474 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.444e-05/0.7493, allocations: 16.5 kB / 0.8474 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.755e-05/0.7494, allocations: 25.5 kB / 0.8475 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.7494, allocations: 0.6875 kB / 0.8475 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.512e-05/0.7494, allocations: 51.06 kB / 0.8475 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.7495, allocations: 5.406 kB / 0.8475 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.7495, allocations: 0 / 0.8475 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.7495, allocations: 2.531 kB / 0.8475 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.651e-05/0.7495, allocations: 9.453 kB / 0.8475 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.7495, allocations: 0 / 0.8475 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.605e-05/0.7496, allocations: 12.83 kB / 0.8475 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.7496, allocations: 3.062 kB / 0.8475 GB, free: 7.824 MB / 0.6231 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.259e-05/0.7497, allocations: 108.4 kB / 0.8476 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.7497, allocations: 0 / 0.8476 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.7499, allocations: 131.2 kB / 0.8478 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.594e-05/0.75, allocations: 176.3 kB / 0.8479 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.784e-05/0.75, allocations: 187.5 kB / 0.8481 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-05/0.7501, allocations: 180.2 kB / 0.8483 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.7504, allocations: 378 kB / 0.8486 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.855e-05/0.7505, allocations: 108.9 kB / 0.8487 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.39e-05/0.7505, allocations: 103.9 kB / 0.8488 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-05/0.7506, allocations: 180.2 kB / 0.849 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.87e-05/0.7507, allocations: 186.2 kB / 0.8492 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001023/0.7508, allocations: 185.8 kB / 0.8494 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000111/0.7509, allocations: 183.6 kB / 0.8495 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.7511, allocations: 304.7 kB / 0.8498 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.7512, allocations: 112.9 kB / 0.8499 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.7513, allocations: 183.2 kB / 0.8501 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.7514, allocations: 106.9 kB / 0.8502 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.7516, allocations: 183.4 kB / 0.8504 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.852e-05/0.7516, allocations: 112.9 kB / 0.8505 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.694e-05/0.7517, allocations: 85.31 kB / 0.8506 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.7517, allocations: 0 / 0.8506 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003982/0.7521, allocations: 53.2 kB / 0.8506 GB, free: 4.535 MB / 0.6231 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.0007751/0.7529, allocations: 0.8909 MB / 0.8515 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 9.291e-05/0.7529, allocations: 9.812 kB / 0.8515 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7529, allocations: 0 / 0.8515 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.7529, allocations: 2.594 kB / 0.8515 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004999/0.7534, allocations: 469.9 kB / 0.852 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.7548, allocations: 1.338 MB / 0.8533 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.989e-05/0.7549, allocations: 60.56 kB / 0.8533 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.76e-05/0.7549, allocations: 12.97 kB / 0.8533 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.755, allocations: 14.42 kB / 0.8534 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of SimCode: time 8.22e-07/0.755, allocations: 0 / 0.8534 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.7787, allocations: 2.411 MB / 0.8557 GB, free: 476 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.34, allocations: 16.44 kB / 0.8557 GB, free: 468 kB / 0.6231 GB " [Timeout remaining time 647] (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: 16.242486340925097] Failed to read output from testmodel.py, exit status != 0: 12.502825644914992 12.526979663 11.77622483 Calling exit ...