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.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.001488/0.001488, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001881/0.001881, allocations: 214.6 kB / 22.24 MB, free: 4.859 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.595/1.595, 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 master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.389/1.389, allocations: 203.8 MB / 0.5042 GB, free: 4.617 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(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: 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.002348/0.002348, allocations: 67.89 kB / 0.7186 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6156/0.6179, allocations: 102 MB / 0.8182 GB, free: 28.89 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1836/0.8016, allocations: 119 MB / 0.9344 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002223/0.8018, allocations: 51.86 kB / 0.9345 GB, free: 15 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.21e-05/0.8018, allocations: 0 / 0.9345 GB, free: 15 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.802, allocations: 3.938 kB / 0.9345 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.65e-05/0.8021, allocations: 15.91 kB / 0.9345 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.8033, allocations: 248.1 kB / 0.9347 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.8034, allocations: 27.91 kB / 0.9348 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.962e-05/0.8035, allocations: 4 kB / 0.9348 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.165e-05/0.8035, allocations: 27.84 kB / 0.9348 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.8036, allocations: 15.92 kB / 0.9348 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.8036, allocations: 4 kB / 0.9348 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000595/0.8042, allocations: 175.5 kB / 0.935 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.538e-05/0.8043, allocations: 7.984 kB / 0.935 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.8043, allocations: 7.938 kB / 0.935 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005344/0.8049, allocations: 167.2 kB / 0.9352 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.8049, allocations: 0 / 0.9352 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.865e-06/0.8049, allocations: 0 / 0.9352 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.8049, allocations: 0 / 0.9352 GB, free: 14.31 MB / 0.7169 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.0005862/0.8055, allocations: 286 kB / 0.9354 GB, free: 14 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.8055, allocations: 9.469 kB / 0.9354 GB, free: 14 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.426e-05/0.8056, allocations: 12.92 kB / 0.9355 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.8057, allocations: 110.5 kB / 0.9356 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.8058, allocations: 55.97 kB / 0.9356 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.8058, allocations: 3.938 kB / 0.9356 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.806, allocations: 67.39 kB / 0.9357 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.806, allocations: 0 / 0.9357 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.8061, allocations: 0 / 0.9357 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.8061, allocations: 4 kB / 0.9357 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.08e-05/0.8061, allocations: 11.98 kB / 0.9357 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000755/0.8069, allocations: 264.4 kB / 0.936 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.333e-05/0.8069, allocations: 22.52 kB / 0.936 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.685e-05/0.8069, allocations: 4.859 kB / 0.936 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.414e-05/0.807, allocations: 32.03 kB / 0.936 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.8071, allocations: 34.56 kB / 0.936 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.8071, allocations: 0 / 0.936 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001911/0.8073, allocations: 37.62 kB / 0.9361 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.8073, allocations: 51.41 kB / 0.9361 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.8074, allocations: 101.9 kB / 0.9362 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.8074, allocations: 29.83 kB / 0.9363 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.609e-05/0.8075, allocations: 92.06 kB / 0.9363 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.804e-06/0.8075, allocations: 4 kB / 0.9363 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.8075, allocations: 21.67 kB / 0.9364 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.8077, allocations: 314.8 kB / 0.9367 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.8077, allocations: 8 kB / 0.9367 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3e-05/0.8077, allocations: 21.7 kB / 0.9367 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.248e-05/0.8078, allocations: 17.66 kB / 0.9367 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8078, allocations: 0 / 0.9367 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.775e-05/0.8079, allocations: 53.69 kB / 0.9368 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.8079, allocations: 4 kB / 0.9368 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.8079, allocations: 3.938 kB / 0.9368 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.8079, allocations: 3.938 kB / 0.9368 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.4e-05/0.808, allocations: 8 kB / 0.9368 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.808, allocations: 3.938 kB / 0.9368 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.808, allocations: 0 / 0.9368 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.808, allocations: 11.98 kB / 0.9368 GB, free: 12.44 MB / 0.7169 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.415e-05/0.8081, allocations: 110.8 kB / 0.9369 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.8081, allocations: 4.062 kB / 0.9369 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.8083, allocations: 117 kB / 0.937 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.49e-05/0.8084, allocations: 192.2 kB / 0.9372 GB, free: 12 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.581e-05/0.8084, allocations: 176.3 kB / 0.9374 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.363e-05/0.8085, allocations: 176.3 kB / 0.9375 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.8088, allocations: 369 kB / 0.9379 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-05/0.8088, allocations: 105 kB / 0.938 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.118e-05/0.8089, allocations: 104.9 kB / 0.9381 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.091e-05/0.809, allocations: 176.3 kB / 0.9383 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.271e-05/0.809, allocations: 180.3 kB / 0.9384 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.901e-05/0.8091, allocations: 184.2 kB / 0.9386 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.642e-05/0.8092, allocations: 188.2 kB / 0.9388 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.8094, allocations: 315.9 kB / 0.9391 GB, free: 9.945 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.8095, allocations: 104.9 kB / 0.9392 GB, free: 9.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.8096, allocations: 188.3 kB / 0.9394 GB, free: 9.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.8097, allocations: 105 kB / 0.9395 GB, free: 9.535 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/0.8098, allocations: 184.2 kB / 0.9396 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.995e-05/0.8099, allocations: 101 kB / 0.9397 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.027e-05/0.8099, allocations: 91.27 kB / 0.9398 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8099, allocations: 4 kB / 0.9398 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003581/0.8103, allocations: 55.8 kB / 0.9399 GB, free: 9.094 MB / 0.7169 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.0003976/0.8107, allocations: 245.3 kB / 0.9401 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.322e-05/0.8108, allocations: 19.86 kB / 0.9401 GB, free: 8.824 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8108, allocations: 4.125 kB / 0.9401 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.8108, allocations: 0 / 0.9401 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005061/0.8113, allocations: 466.5 kB / 0.9406 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.8116, allocations: 178.2 kB / 0.9408 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.767e-05/0.8117, allocations: 63.16 kB / 0.9408 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.353e-05/0.8117, allocations: 11.92 kB / 0.9408 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.8118, allocations: 15.44 kB / 0.9408 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of SimCode: time 3.8e-07/0.8118, allocations: 0 / 0.9408 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of Templates: time 0.00478/0.8165, allocations: 1.325 MB / 0.9421 GB, free: 6.742 MB / 0.7169 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: 7.426914256066084] Failed to read output from testmodel.py, exit status != 0: 0.8262082636356354 0.842264868 0.033965858 Calling exit ...