Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 118.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002046/0.002046, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.104/1.104, allocations: 175.7 MB / 479.1 MB, free: 3.43 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 66.95 kB / 0.6663 GB, free: 10.9 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1894, allocations: 94.54 MB / 0.7586 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5743/0.7638, allocations: 135.8 MB / 0.8912 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001926/0.764, allocations: 53.95 kB / 0.8913 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.764, allocations: 0 / 0.8913 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.7641, allocations: 3.938 kB / 0.8913 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.14e-05/0.7642, allocations: 18.84 kB / 0.8913 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009102/0.7651, allocations: 243.7 kB / 0.8915 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.758e-05/0.7652, allocations: 33.61 kB / 0.8916 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.7653, allocations: 1.438 kB / 0.8916 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.555e-05/0.7653, allocations: 19.08 kB / 0.8916 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.076e-05/0.7654, allocations: 18.64 kB / 0.8916 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.7654, allocations: 5.469 kB / 0.8916 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004516/0.7658, allocations: 246.3 kB / 0.8918 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.346e-05/0.7659, allocations: 9 kB / 0.8919 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.7659, allocations: 7.609 kB / 0.8919 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003392/0.7662, allocations: 188.1 kB / 0.892 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7662, allocations: 0 / 0.892 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7662, allocations: 0 / 0.892 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.7662, allocations: 1.156 kB / 0.892 GB, free: 12.56 MB / 0.6544 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.000472/0.7667, allocations: 361.1 kB / 0.8924 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.7667, allocations: 13.53 kB / 0.8924 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.7668, allocations: 2.094 kB / 0.8924 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.7669, allocations: 168 kB / 0.8926 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.26e-05/0.767, allocations: 33.42 kB / 0.8926 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.767, allocations: 5.125 kB / 0.8926 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.7671, allocations: 46.23 kB / 0.8926 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.7671, allocations: 0 / 0.8926 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.7671, allocations: 0 / 0.8926 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.7672, allocations: 5.234 kB / 0.8926 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.355e-05/0.7672, allocations: 21.91 kB / 0.8927 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008089/0.768, allocations: 0.6024 MB / 0.8933 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.411e-05/0.768, allocations: 19.77 kB / 0.8933 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.7681, allocations: 6.016 kB / 0.8933 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002467/0.7683, allocations: 335.7 kB / 0.8936 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.7683, allocations: 38.28 kB / 0.8936 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.7683, allocations: 1.406 kB / 0.8936 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001447/0.7685, allocations: 38.28 kB / 0.8937 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.7685, allocations: 52.56 kB / 0.8937 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.105e-05/0.7686, allocations: 103.2 kB / 0.8938 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.7686, allocations: 26.95 kB / 0.8939 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.7687, allocations: 88.62 kB / 0.8939 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.461e-06/0.7687, allocations: 5.25 kB / 0.8939 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.7687, allocations: 15.66 kB / 0.894 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.7689, allocations: 320.3 kB / 0.8943 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/0.7689, allocations: 4.234 kB / 0.8943 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.462e-05/0.7689, allocations: 13.12 kB / 0.8943 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.209e-05/0.7689, allocations: 26.72 kB / 0.8943 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.7689, allocations: 4 kB / 0.8943 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.602e-05/0.769, allocations: 44.44 kB / 0.8943 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.769, allocations: 8.688 kB / 0.8944 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.769, allocations: 0 / 0.8944 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.7691, allocations: 0.9375 kB / 0.8944 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.285e-05/0.7691, allocations: 6.141 kB / 0.8944 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.7691, allocations: 5 kB / 0.8944 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.008e-05/0.7691, allocations: 6.516 kB / 0.8944 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.7691, allocations: 2.125 kB / 0.8944 GB, free: 10.08 MB / 0.6544 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.312e-05/0.7692, allocations: 126 kB / 0.8945 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.7692, allocations: 1.156 kB / 0.8945 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.7694, allocations: 117.2 kB / 0.8946 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.896e-05/0.7694, allocations: 181.3 kB / 0.8948 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-05/0.7695, allocations: 177.5 kB / 0.895 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.042e-05/0.7696, allocations: 187.3 kB / 0.8951 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.7698, allocations: 410.5 kB / 0.8955 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.443e-05/0.7699, allocations: 104 kB / 0.8956 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-05/0.7699, allocations: 106.1 kB / 0.8957 GB, free: 8.625 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.678e-05/0.77, allocations: 179.7 kB / 0.8959 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.516e-05/0.7701, allocations: 184.8 kB / 0.8961 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.583e-05/0.7702, allocations: 185.3 kB / 0.8962 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.08e-05/0.7703, allocations: 177.4 kB / 0.8964 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.7704, allocations: 309.8 kB / 0.8967 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.05e-05/0.7705, allocations: 188.9 kB / 0.8969 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.268e-05/0.7706, allocations: 182.6 kB / 0.8971 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.7707, allocations: 107.4 kB / 0.8972 GB, free: 7.082 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.592e-05/0.7708, allocations: 184.9 kB / 0.8973 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.7709, allocations: 104.3 kB / 0.8974 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.612e-05/0.7709, allocations: 81.66 kB / 0.8975 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.7709, allocations: 1.219 kB / 0.8975 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003348/0.7713, allocations: 62.88 kB / 0.8976 GB, free: 6.699 MB / 0.6544 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.0003338/0.7716, allocations: 260.7 kB / 0.8978 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.416e-05/0.7717, allocations: 10.78 kB / 0.8978 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.7717, allocations: 4.125 kB / 0.8978 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.7717, allocations: 0 / 0.8978 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.7721, allocations: 461.3 kB / 0.8983 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.7724, allocations: 201.4 kB / 0.8985 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.7727, allocations: 0.6863 MB / 0.8991 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.7727, allocations: 13.41 kB / 0.8992 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.7727, allocations: 0 / 0.8992 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of Templates: time 0.002954/0.7757, allocations: 1.228 MB / 0.9004 GB, free: 4.988 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.433649751823395] Failed to read output from testmodel.py, exit status != 0: 0.7824793769977987 0.7945217179999999 0.025795909000000002 Calling exit ...