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.001313/0.001313, allocations: 105 kB / 20.48 MB, free: 1.488 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.001501/0.001501, allocations: 213.8 kB / 23.79 MB, free: 4.703 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.502/1.502, allocations: 230.6 MB / 257.6 MB, free: 8.02 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.051/1.051, allocations: 150 MB / 463.9 MB, free: 10.5 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.00206/0.00206, allocations: 62.31 kB / 0.642 GB, free: 10.44 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2058, allocations: 89.17 MB / 0.7291 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5614/0.7672, allocations: 138.7 MB / 0.8645 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001726/0.7674, allocations: 59.08 kB / 0.8646 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/0.7674, allocations: 6.906 kB / 0.8646 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.7675, allocations: 3.938 kB / 0.8646 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.652e-05/0.7676, allocations: 10.42 kB / 0.8646 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008732/0.7685, allocations: 262.9 kB / 0.8648 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 7.577e-05/0.7686, allocations: 27.47 kB / 0.8648 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.7686, allocations: 2.688 kB / 0.8649 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 3.708e-05/0.7686, allocations: 22.11 kB / 0.8649 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.434e-05/0.7687, allocations: 16.97 kB / 0.8649 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.7687, allocations: 1.812 kB / 0.8649 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004743/0.7692, allocations: 261.4 kB / 0.8651 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.707e-05/0.7692, allocations: 2.438 kB / 0.8651 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.7693, allocations: 12.86 kB / 0.8652 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.7696, allocations: 180.9 kB / 0.8653 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.7696, allocations: 6.344 kB / 0.8653 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7696, allocations: 0 / 0.8653 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.7696, allocations: 0 / 0.8653 GB, free: 10.06 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.0004228/0.77, allocations: 286.8 kB / 0.8656 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.7701, allocations: 14.03 kB / 0.8656 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.84e-05/0.7701, allocations: 4.188 kB / 0.8656 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.7701, allocations: 30.75 kB / 0.8657 GB, free: 9.723 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.7702, allocations: 3.906 kB / 0.8657 GB, free: 9.723 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.7703, allocations: 105 kB / 0.8658 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.076e-05/0.7703, allocations: 59.72 kB / 0.8658 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.7703, allocations: 6.484 kB / 0.8658 GB, free: 9.523 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.7705, allocations: 41.44 kB / 0.8659 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.7705, allocations: 0 / 0.8659 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.7705, allocations: 3 kB / 0.8659 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.7705, allocations: 0 / 0.8659 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.302e-05/0.7706, allocations: 18.73 kB / 0.8659 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006627/0.7712, allocations: 283.2 kB / 0.8661 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 4.311e-05/0.7713, allocations: 14.58 kB / 0.8662 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.7713, allocations: 6.984 kB / 0.8662 GB, free: 9.168 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.974e-05/0.7713, allocations: 31.19 kB / 0.8662 GB, free: 9.152 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.7714, allocations: 32.78 kB / 0.8662 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.7714, allocations: 0 / 0.8662 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0001581/0.7715, allocations: 47.23 kB / 0.8663 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.7716, allocations: 51.41 kB / 0.8663 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.4e-05/0.7717, allocations: 102.6 kB / 0.8664 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.7717, allocations: 25.7 kB / 0.8664 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.7718, allocations: 94.83 kB / 0.8665 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-06/0.7718, allocations: 0 / 0.8665 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.7718, allocations: 12.03 kB / 0.8665 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.7719, allocations: 321.6 kB / 0.8669 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.7719, allocations: 5.812 kB / 0.8669 GB, free: 8.438 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.928e-05/0.772, allocations: 17.7 kB / 0.8669 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.749e-05/0.772, allocations: 25.41 kB / 0.8669 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.772, allocations: 0 / 0.8669 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.827e-05/0.7721, allocations: 49.97 kB / 0.867 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.7721, allocations: 9.438 kB / 0.867 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.7721, allocations: 0 / 0.867 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.7721, allocations: 6.562 kB / 0.867 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.484e-05/0.7722, allocations: 4.5 kB / 0.867 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.7722, allocations: 1.406 kB / 0.867 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/0.7722, allocations: 10.95 kB / 0.867 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.7722, allocations: 3.984 kB / 0.867 GB, free: 8.332 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 7.646e-05/0.7723, allocations: 108.6 kB / 0.8671 GB, free: 8.219 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.7723, allocations: 0 / 0.8671 GB, free: 8.219 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.7724, allocations: 128.8 kB / 0.8672 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.027e-05/0.7725, allocations: 180.2 kB / 0.8674 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.806e-05/0.7726, allocations: 180.6 kB / 0.8676 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.062e-05/0.7727, allocations: 187.1 kB / 0.8677 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.7729, allocations: 379.1 kB / 0.8681 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.977e-05/0.773, allocations: 108 kB / 0.8682 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.826e-05/0.773, allocations: 105 kB / 0.8683 GB, free: 6.902 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-05/0.7731, allocations: 176.3 kB / 0.8685 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.503e-05/0.7732, allocations: 190.5 kB / 0.8686 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.432e-05/0.7733, allocations: 180.3 kB / 0.8688 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.084e-05/0.7733, allocations: 187.5 kB / 0.869 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.7735, allocations: 304.7 kB / 0.8693 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.7736, allocations: 109 kB / 0.8694 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.7737, allocations: 183 kB / 0.8696 GB, free: 5.547 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.7738, allocations: 107 kB / 0.8697 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.284e-05/0.7739, allocations: 184.2 kB / 0.8698 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.609e-05/0.774, allocations: 111.5 kB / 0.87 GB, free: 5.137 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.1e-05/0.774, allocations: 88.5 kB / 0.87 GB, free: 5.059 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.774, allocations: 0 / 0.87 GB, free: 5.059 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003342/0.7744, allocations: 51.3 kB / 0.8701 GB, free: 5.043 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.0006969/0.7751, allocations: 0.886 MB / 0.871 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.419e-05/0.7752, allocations: 16.7 kB / 0.871 GB, free: 4.176 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7752, allocations: 3.938 kB / 0.871 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.7752, allocations: 0 / 0.871 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/0.7757, allocations: 470.4 kB / 0.8714 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.7769, allocations: 1.344 MB / 0.8727 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.7772, allocations: 0.674 MB / 0.8734 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.416e-05/0.7773, allocations: 2.562 kB / 0.8734 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.7773, allocations: 13.23 kB / 0.8734 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of SimCode: time 1.152e-06/0.7773, allocations: 0 / 0.8734 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.8008, allocations: 2.342 MB / 0.8757 GB, free: 392 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.37, allocations: 15.59 kB / 0.8757 GB, free: 388 kB / 0.6387 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.33758895396022] Failed to read output from testmodel.py, exit status != 0: 12.536399798002094 12.565365368 11.790430937 Calling exit ...