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.001325/0.001325, allocations: 104.3 kB / 19.7 MB, free: 2.059 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.001466/0.001466, allocations: 212.6 kB / 22.99 MB, free: 4.867 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9612/0.9612, allocations: 149.9 MB / 463.1 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.002095/0.002095, allocations: 68.62 kB / 0.6411 GB, free: 10.18 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1906, allocations: 89.17 MB / 0.7281 GB, free: 1.082 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5342/0.7247, allocations: 119 MB / 0.8443 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001628/0.7249, allocations: 51.67 kB / 0.8444 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.27e-05/0.7249, allocations: 0 / 0.8444 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.725, allocations: 9.625 kB / 0.8444 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 8.309e-05/0.7251, allocations: 15.28 kB / 0.8444 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008254/0.726, allocations: 243.3 kB / 0.8446 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 7.537e-05/0.726, allocations: 34.31 kB / 0.8447 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.7261, allocations: 6.766 kB / 0.8447 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 3.732e-05/0.7261, allocations: 19.81 kB / 0.8447 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.357e-05/0.7262, allocations: 13.52 kB / 0.8447 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.7262, allocations: 2.844 kB / 0.8447 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003487/0.7265, allocations: 173.1 kB / 0.8449 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.033e-05/0.7266, allocations: 14.11 kB / 0.8449 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.7266, allocations: 10.98 kB / 0.8449 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.7269, allocations: 163.8 kB / 0.8451 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7269, allocations: 2.719 kB / 0.8451 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7269, allocations: 0 / 0.8451 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.7269, allocations: 0 / 0.8451 GB, free: 9.703 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.0004228/0.7273, allocations: 280.9 kB / 0.8453 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.7274, allocations: 14.47 kB / 0.8453 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.811e-05/0.7274, allocations: 38.73 kB / 0.8454 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/0.7274, allocations: 6.75 kB / 0.8454 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.7276, allocations: 105.3 kB / 0.8455 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-05/0.7276, allocations: 55.97 kB / 0.8455 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.7277, allocations: 6.312 kB / 0.8455 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.7278, allocations: 67.67 kB / 0.8456 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.7278, allocations: 0 / 0.8456 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.7278, allocations: 2.625 kB / 0.8456 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.7278, allocations: 0 / 0.8456 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.403e-05/0.7279, allocations: 18.7 kB / 0.8456 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006222/0.7285, allocations: 274.7 kB / 0.8459 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 4.038e-05/0.7285, allocations: 21.22 kB / 0.8459 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.545e-05/0.7285, allocations: 8.859 kB / 0.8459 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-05/0.7286, allocations: 34.62 kB / 0.846 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.7286, allocations: 30.56 kB / 0.846 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.7286, allocations: 0 / 0.846 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001412/0.7288, allocations: 49.52 kB / 0.846 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.7288, allocations: 51.41 kB / 0.8461 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.7289, allocations: 99.2 kB / 0.8462 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.7289, allocations: 25.7 kB / 0.8462 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.729, allocations: 90.73 kB / 0.8463 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.629e-06/0.729, allocations: 128 / 0.8463 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.729, allocations: 23.06 kB / 0.8463 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.7292, allocations: 314.8 kB / 0.8466 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.7292, allocations: 6.578 kB / 0.8466 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.55e-05/0.7292, allocations: 19.34 kB / 0.8466 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.608e-05/0.7292, allocations: 18.81 kB / 0.8466 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.7292, allocations: 0 / 0.8466 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.424e-05/0.7293, allocations: 51.08 kB / 0.8467 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.7293, allocations: 7.5 kB / 0.8467 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.7293, allocations: 6.844 kB / 0.8467 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.7293, allocations: 0 / 0.8467 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.071e-05/0.7294, allocations: 9.094 kB / 0.8467 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.7294, allocations: 7.922 kB / 0.8467 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.641e-05/0.7294, allocations: 288 / 0.8467 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.7294, allocations: 6.938 kB / 0.8467 GB, free: 7.953 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 8.292e-05/0.7295, allocations: 113.2 kB / 0.8468 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.7295, allocations: 0 / 0.8468 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.7296, allocations: 125.9 kB / 0.847 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.946e-05/0.7297, allocations: 188.2 kB / 0.8471 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.852e-05/0.7298, allocations: 183.3 kB / 0.8473 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.502e-05/0.7299, allocations: 180.2 kB / 0.8475 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.7301, allocations: 381.4 kB / 0.8479 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-05/0.7302, allocations: 101 kB / 0.8479 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.596e-05/0.7302, allocations: 108.5 kB / 0.8481 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.449e-05/0.7303, allocations: 176.3 kB / 0.8482 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.093e-05/0.7304, allocations: 186.5 kB / 0.8484 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.793e-05/0.7304, allocations: 180.2 kB / 0.8486 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-05/0.7305, allocations: 185.5 kB / 0.8487 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.7307, allocations: 304.8 kB / 0.849 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.7308, allocations: 119.9 kB / 0.8492 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.793e-05/0.7309, allocations: 180.3 kB / 0.8493 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.731, allocations: 110.1 kB / 0.8494 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.668e-05/0.7311, allocations: 184.2 kB / 0.8496 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/0.7311, allocations: 103.3 kB / 0.8497 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.068e-05/0.7312, allocations: 89.09 kB / 0.8498 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6e-08/0.7312, allocations: 0 / 0.8498 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003056/0.7315, allocations: 52.77 kB / 0.8498 GB, free: 4.664 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.0006786/0.7322, allocations: 0.876 MB / 0.8507 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 7.051e-05/0.7323, allocations: 12.5 kB / 0.8507 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7323, allocations: 0 / 0.8507 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-06/0.7323, allocations: 3.938 kB / 0.8507 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.7327, allocations: 462 kB / 0.8511 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.7339, allocations: 1.35 MB / 0.8525 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.559e-05/0.7339, allocations: 65.03 kB / 0.8525 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.656e-05/0.7339, allocations: 6.062 kB / 0.8525 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.734, allocations: 11.42 kB / 0.8525 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of SimCode: time 3.3e-07/0.734, allocations: 0 / 0.8525 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03081/0.7648, allocations: 2.762 MB / 0.8552 GB, free: 224 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.1, allocations: 5.344 kB / 0.8552 GB, free: 224 kB / 0.6231 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.981008925940841] Failed to read output from testmodel.py, exit status != 0: 12.205811763647944 12.222376549 11.492162172 Calling exit ...