Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001817/0.001817, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002415/0.002415, allocations: 210.7 kB / 22.25 MB, free: 5.262 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.576/1.576, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.903/0.903, allocations: 134 MB / 446.4 MB, free: 9.918 MB / 350.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/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(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: IDEAS 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.002135/0.002135, allocations: 70.73 kB / 0.6189 GB, free: 6.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2161, allocations: 85.91 MB / 0.7028 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.6628/0.8789, allocations: 119 MB / 0.8191 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0002008/0.8791, allocations: 45.83 kB / 0.8191 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.8792, allocations: 2.625 kB / 0.8191 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.8793, allocations: 3.938 kB / 0.8191 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.845e-05/0.8794, allocations: 18.64 kB / 0.8191 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.8804, allocations: 248 kB / 0.8194 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.779e-05/0.8805, allocations: 40.5 kB / 0.8194 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.8806, allocations: 2.344 kB / 0.8194 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.875e-05/0.8806, allocations: 16.33 kB / 0.8194 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.25e-05/0.8807, allocations: 16.03 kB / 0.8195 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.8807, allocations: 0 / 0.8195 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004772/0.8812, allocations: 183.1 kB / 0.8196 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.8812, allocations: 7.984 kB / 0.8196 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.8813, allocations: 13.45 kB / 0.8197 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004175/0.8817, allocations: 163.8 kB / 0.8198 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.8817, allocations: 0 / 0.8198 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8817, allocations: 0 / 0.8198 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.8817, allocations: 0 / 0.8198 GB, free: 5.863 MB / 0.5919 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.0005245/0.8822, allocations: 291.7 kB / 0.8201 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.8822, allocations: 10.34 kB / 0.8201 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.8823, allocations: 4.875 kB / 0.8201 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.8824, allocations: 109.5 kB / 0.8202 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-05/0.8825, allocations: 58.45 kB / 0.8203 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.8825, allocations: 3.938 kB / 0.8203 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.8827, allocations: 66.27 kB / 0.8203 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.8827, allocations: 3.938 kB / 0.8203 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.8827, allocations: 4 kB / 0.8203 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/0.8828, allocations: 2.531 kB / 0.8203 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.736e-05/0.8828, allocations: 18.61 kB / 0.8204 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006945/0.8835, allocations: 266 kB / 0.8206 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.872e-05/0.8836, allocations: 18.58 kB / 0.8206 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.537e-05/0.8836, allocations: 7.578 kB / 0.8206 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.036e-05/0.8836, allocations: 27.72 kB / 0.8207 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.8837, allocations: 37.44 kB / 0.8207 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.8837, allocations: 0 / 0.8207 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001582/0.8838, allocations: 38.88 kB / 0.8207 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.8839, allocations: 58.12 kB / 0.8208 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.557e-05/0.884, allocations: 99.48 kB / 0.8209 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.884, allocations: 25.7 kB / 0.8209 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.094e-05/0.8841, allocations: 90.95 kB / 0.821 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.979e-06/0.8841, allocations: 0 / 0.821 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.8841, allocations: 19.86 kB / 0.821 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.8843, allocations: 317.5 kB / 0.8213 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.8843, allocations: 2.781 kB / 0.8213 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.378e-05/0.8843, allocations: 24.62 kB / 0.8213 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.764e-05/0.8843, allocations: 25.28 kB / 0.8214 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.8843, allocations: 0 / 0.8214 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.599e-05/0.8844, allocations: 51 kB / 0.8214 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.8844, allocations: 5.875 kB / 0.8214 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.8844, allocations: 0 / 0.8214 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.8845, allocations: 2.562 kB / 0.8214 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.459e-05/0.8845, allocations: 3.5 kB / 0.8214 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.8845, allocations: 2.188 kB / 0.8214 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.846e-05/0.8845, allocations: 3.938 kB / 0.8214 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.8845, allocations: 11.33 kB / 0.8214 GB, free: 4.176 MB / 0.5919 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.639e-05/0.8846, allocations: 116.6 kB / 0.8216 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.8847, allocations: 0 / 0.8216 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.8848, allocations: 122 kB / 0.8217 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.414e-05/0.8849, allocations: 180.3 kB / 0.8218 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.15e-05/0.885, allocations: 186.2 kB / 0.822 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.11e-05/0.8851, allocations: 181.5 kB / 0.8222 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.8853, allocations: 359 kB / 0.8225 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.672e-05/0.8854, allocations: 104.9 kB / 0.8226 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.355e-05/0.8854, allocations: 101 kB / 0.8227 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.296e-05/0.8855, allocations: 190.4 kB / 0.8229 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.959e-05/0.8856, allocations: 183.3 kB / 0.8231 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.023e-05/0.8857, allocations: 176.3 kB / 0.8233 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.598e-05/0.8858, allocations: 184.2 kB / 0.8234 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.886, allocations: 318.5 kB / 0.8237 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.886, allocations: 101 kB / 0.8238 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.8862, allocations: 182.5 kB / 0.824 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.8863, allocations: 107.9 kB / 0.8241 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.8864, allocations: 182.3 kB / 0.8243 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.931e-05/0.8865, allocations: 108.9 kB / 0.8244 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.369e-05/0.8865, allocations: 85.22 kB / 0.8245 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.8865, allocations: 0 / 0.8245 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003333/0.8869, allocations: 63.55 kB / 0.8245 GB, free: 0.9141 MB / 0.5919 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.000336/0.8872, allocations: 244.5 kB / 0.8248 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.565e-05/0.8873, allocations: 13.67 kB / 0.8248 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8873, allocations: 0 / 0.8248 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.006e-06/0.8873, allocations: 2.719 kB / 0.8248 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.8878, allocations: 461.8 kB / 0.8252 GB, free: 264 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.8881, allocations: 186.3 kB / 0.8254 GB, free: 68 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.05e-05/0.8882, allocations: 60.59 kB / 0.8255 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.117e-05/0.8882, allocations: 11.27 kB / 0.8255 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.8882, allocations: 7.438 kB / 0.8255 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.8882, allocations: 0 / 0.8255 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of Templates: time 0.004315/0.8926, allocations: 1.344 MB / 0.8268 GB, free: 15.28 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.747738592326641] Failed to read output from testmodel.py, exit status != 0: 0.900842247530818 0.916132348 0.031219597 Calling exit ...