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.0007901/0.0007901, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.000783/0.000783, allocations: 166.3 kB / 23.97 MB, free: 0.5977 MB / 18.57 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 0.8275/0.8275, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.5579/0.5579, allocations: 114 MB / 374.7 MB, free: 8.707 MB / 346.7 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: translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.5554 GB, free: 2.324 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.633e-05, allocations: 4.906 kB / 0.5554 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.104/0.1041, allocations: 119 MB / 0.6716 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001119/0.1042, allocations: 55.69 kB / 0.6717 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.372e-05/0.1042, allocations: 0 / 0.6717 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.1043, allocations: 3.938 kB / 0.6717 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.423e-05/0.1044, allocations: 11.97 kB / 0.6717 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007187/0.1051, allocations: 246.8 kB / 0.6719 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.736e-05/0.1052, allocations: 35.84 kB / 0.672 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.798e-05/0.1052, allocations: 7.938 kB / 0.672 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.248e-05/0.1053, allocations: 19.92 kB / 0.672 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.883e-05/0.1053, allocations: 15.97 kB / 0.672 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.1054, allocations: 4 kB / 0.672 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003098/0.1057, allocations: 179.4 kB / 0.6722 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.1057, allocations: 0 / 0.6722 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.1057, allocations: 19.91 kB / 0.6722 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.106, allocations: 175.6 kB / 0.6724 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.106, allocations: 0 / 0.6724 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.372e-06/0.106, allocations: 0 / 0.6724 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.076e-06/0.106, allocations: 0 / 0.6724 GB, free: 10.08 MB / 0.6355 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.0003396/0.1063, allocations: 282.1 kB / 0.6726 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1064, allocations: 8.625 kB / 0.6726 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.1064, allocations: 4.938 kB / 0.6726 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.435e-05/0.1065, allocations: 113.7 kB / 0.6728 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.415e-05/0.1066, allocations: 55.97 kB / 0.6728 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.1066, allocations: 384 / 0.6728 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.1067, allocations: 75.69 kB / 0.6729 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.1067, allocations: 0 / 0.6729 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1067, allocations: 7.984 kB / 0.6729 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.1067, allocations: 0 / 0.6729 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.589e-05/0.1067, allocations: 19.92 kB / 0.6729 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005254/0.1073, allocations: 252.6 kB / 0.6731 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.046e-05/0.1073, allocations: 26.45 kB / 0.6732 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.268e-05/0.1073, allocations: 4.859 kB / 0.6732 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.55e-05/0.1074, allocations: 32.05 kB / 0.6732 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.1074, allocations: 34.56 kB / 0.6732 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1074, allocations: 0 / 0.6732 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001244/0.1075, allocations: 37.62 kB / 0.6733 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.1075, allocations: 51.41 kB / 0.6733 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.406e-05/0.1076, allocations: 105.8 kB / 0.6734 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.1076, allocations: 25.83 kB / 0.6734 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.1077, allocations: 96.03 kB / 0.6735 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.69e-06/0.1077, allocations: 11.89 kB / 0.6736 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.1077, allocations: 13.72 kB / 0.6736 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.142e-05/0.1078, allocations: 314.8 kB / 0.6739 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.1078, allocations: 8 kB / 0.6739 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.793e-05/0.1078, allocations: 13.72 kB / 0.6739 GB, free: 8.328 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.614e-05/0.1078, allocations: 17.72 kB / 0.6739 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1078, allocations: 7.875 kB / 0.6739 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.526e-05/0.1079, allocations: 53.69 kB / 0.674 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1079, allocations: 4 kB / 0.674 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1079, allocations: 0 / 0.674 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1079, allocations: 0 / 0.674 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.623e-05/0.108, allocations: 11.98 kB / 0.674 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.108, allocations: 0 / 0.674 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.211e-05/0.108, allocations: 3.938 kB / 0.674 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.108, allocations: 8 kB / 0.674 GB, free: 8.211 MB / 0.6355 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 5.084e-05/0.108, allocations: 109.8 kB / 0.6741 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.1081, allocations: 0 / 0.6741 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.1082, allocations: 129 kB / 0.6742 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-05/0.1082, allocations: 188.2 kB / 0.6744 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.216e-05/0.1083, allocations: 180.3 kB / 0.6746 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.884e-05/0.1083, allocations: 176.3 kB / 0.6747 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.1084, allocations: 360.8 kB / 0.6751 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.289e-05/0.1084, allocations: 108.9 kB / 0.6752 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-05/0.1085, allocations: 104.9 kB / 0.6753 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.89e-05/0.1085, allocations: 176.3 kB / 0.6755 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.426e-05/0.1085, allocations: 188.2 kB / 0.6756 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.802e-05/0.1086, allocations: 180.2 kB / 0.6758 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.793e-05/0.1086, allocations: 184.3 kB / 0.676 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.515e-05/0.1087, allocations: 303.8 kB / 0.6763 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.067e-05/0.1088, allocations: 108.9 kB / 0.6764 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.124e-05/0.1088, allocations: 184.2 kB / 0.6765 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.766e-05/0.1089, allocations: 105 kB / 0.6766 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.1089, allocations: 188.2 kB / 0.6768 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.109, allocations: 105 kB / 0.6769 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.585e-05/0.109, allocations: 83.28 kB / 0.677 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.109, allocations: 0 / 0.677 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002192/0.1092, allocations: 63.67 kB / 0.6771 GB, free: 4.867 MB / 0.6355 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.0005153/0.1097, allocations: 254.5 kB / 0.6773 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.418e-05/0.1098, allocations: 11.94 kB / 0.6773 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1098, allocations: 0 / 0.6773 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.1098, allocations: 4.125 kB / 0.6773 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.1101, allocations: 463.8 kB / 0.6778 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002359/0.1103, allocations: 201.8 kB / 0.678 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.341e-05/0.1104, allocations: 67.27 kB / 0.678 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.1104, allocations: 12.5 kB / 0.678 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/0.1104, allocations: 0 / 0.678 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of Templates: time 0.002166/0.1125, allocations: 1.259 MB / 0.6793 GB, free: 2.555 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.250115494243801] Failed to read output from testmodel.py, exit status != 0: 0.11811038386076689 0.387746983 0.28033420000000003 Calling exit ...