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.001751/0.001751, allocations: 107.6 kB / 17.08 MB, free: 6.016 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.002016/0.002016, allocations: 192.3 kB / 20.03 MB, free: 3.082 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.449/1.449, allocations: 222.9 MB / 245.7 MB, free: 4.211 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/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/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.191/1.191, allocations: 175.5 MB / 473.4 MB, free: 4.836 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.001915/0.001916, allocations: 63.45 kB / 0.652 GB, free: 21.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1926, allocations: 90.06 MB / 0.74 GB, free: 308 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.6002/0.7928, allocations: 135.4 MB / 0.8722 GB, free: 2.352 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0001463/0.793, allocations: 48.3 kB / 0.8722 GB, free: 2.352 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.743e-05/0.793, allocations: 0 / 0.8722 GB, free: 2.352 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 9.917e-05/0.7931, allocations: 3.562 kB / 0.8722 GB, free: 2.352 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 6.814e-05/0.7932, allocations: 17.28 kB / 0.8722 GB, free: 2.348 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007536/0.794, allocations: 232.5 kB / 0.8724 GB, free: 2.34 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.286e-05/0.7941, allocations: 34.72 kB / 0.8725 GB, free: 2.34 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.66e-05/0.7941, allocations: 2.391 kB / 0.8725 GB, free: 2.34 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 3.723e-05/0.7942, allocations: 25.77 kB / 0.8725 GB, free: 2.336 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.626e-05/0.7943, allocations: 11.92 kB / 0.8725 GB, free: 2.336 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.7943, allocations: 1.688 kB / 0.8725 GB, free: 2.336 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004744/0.7948, allocations: 238.4 kB / 0.8727 GB, free: 2.336 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.101e-05/0.7948, allocations: 8.562 kB / 0.8727 GB, free: 2.336 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.7948, allocations: 9.922 kB / 0.8728 GB, free: 2.336 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003582/0.7952, allocations: 191 kB / 0.8729 GB, free: 2.332 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.7952, allocations: 0.8438 kB / 0.8729 GB, free: 2.332 MB / 0.67 GB Notification: Performance of FrontEnd: time 9.51e-07/0.7952, allocations: 0 / 0.8729 GB, free: 2.332 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.7952, allocations: 0 / 0.8729 GB, free: 2.332 MB / 0.67 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.000484/0.7957, allocations: 366.6 kB / 0.8733 GB, free: 17.96 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.7958, allocations: 10.16 kB / 0.8733 GB, free: 17.96 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.7958, allocations: 2.406 kB / 0.8733 GB, free: 17.96 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.7959, allocations: 164.6 kB / 0.8735 GB, free: 17.76 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/0.796, allocations: 27.33 kB / 0.8735 GB, free: 17.73 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.796, allocations: 6.531 kB / 0.8735 GB, free: 17.73 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.7961, allocations: 46.22 kB / 0.8735 GB, free: 17.7 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.7961, allocations: 0 / 0.8735 GB, free: 17.7 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.7961, allocations: 4.875 kB / 0.8735 GB, free: 17.69 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.7962, allocations: 3.938 kB / 0.8735 GB, free: 17.69 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.281e-05/0.7962, allocations: 17.05 kB / 0.8736 GB, free: 17.69 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007525/0.797, allocations: 0.5978 MB / 0.8741 GB, free: 17.05 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 2.537e-05/0.797, allocations: 18.38 kB / 0.8742 GB, free: 17.02 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.154e-05/0.797, allocations: 13.17 kB / 0.8742 GB, free: 17.01 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002495/0.7973, allocations: 336.7 kB / 0.8745 GB, free: 16.64 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.7973, allocations: 38.42 kB / 0.8745 GB, free: 16.6 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.7973, allocations: 0 / 0.8745 GB, free: 16.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=1): time 0.0001391/0.7975, allocations: 37.3 kB / 0.8746 GB, free: 16.56 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.7975, allocations: 53.19 kB / 0.8746 GB, free: 16.5 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.929e-05/0.7976, allocations: 104.4 kB / 0.8747 GB, free: 16.4 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.7976, allocations: 25.83 kB / 0.8747 GB, free: 16.37 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.7977, allocations: 90.52 kB / 0.8748 GB, free: 16.28 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.753e-06/0.7977, allocations: 4.719 kB / 0.8748 GB, free: 16.28 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.7977, allocations: 16.33 kB / 0.8749 GB, free: 16.27 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.7979, allocations: 316.6 kB / 0.8752 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.7979, allocations: 7.016 kB / 0.8752 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.282e-05/0.7979, allocations: 14.59 kB / 0.8752 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.293e-05/0.798, allocations: 28.88 kB / 0.8752 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.798, allocations: 0 / 0.8752 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.182e-05/0.7981, allocations: 44.88 kB / 0.8752 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.7981, allocations: 7.875 kB / 0.8753 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.7981, allocations: 5.234 kB / 0.8753 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.7981, allocations: 0 / 0.8753 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.357e-05/0.7982, allocations: 6.016 kB / 0.8753 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.7982, allocations: 2.688 kB / 0.8753 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.801e-05/0.7982, allocations: 9.172 kB / 0.8753 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.7982, allocations: 3.156 kB / 0.8753 GB, free: 15.88 MB / 0.6856 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.675e-05/0.7983, allocations: 112 kB / 0.8754 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.7983, allocations: 9.922 kB / 0.8754 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.7985, allocations: 121.9 kB / 0.8755 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-05/0.7985, allocations: 178.1 kB / 0.8757 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.726e-05/0.7986, allocations: 185 kB / 0.8759 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.582e-05/0.7987, allocations: 180.8 kB / 0.876 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.799, allocations: 407.3 kB / 0.8764 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.705e-05/0.799, allocations: 109.5 kB / 0.8765 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.661e-05/0.7991, allocations: 107.5 kB / 0.8766 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.85e-05/0.7992, allocations: 178 kB / 0.8768 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.479e-05/0.7993, allocations: 184.7 kB / 0.877 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.092e-05/0.7994, allocations: 178 kB / 0.8771 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.619e-05/0.7995, allocations: 183.5 kB / 0.8773 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.7996, allocations: 308.8 kB / 0.8776 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.701e-05/0.7997, allocations: 184.6 kB / 0.8778 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.533e-05/0.7998, allocations: 187.2 kB / 0.878 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.8, allocations: 105.8 kB / 0.8781 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.668e-05/0.8001, allocations: 182.2 kB / 0.8782 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.095e-05/0.8001, allocations: 102.6 kB / 0.8783 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 5.696e-05/0.8002, allocations: 89.86 kB / 0.8784 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8.91e-07/0.8002, allocations: 4 kB / 0.8784 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003407/0.8006, allocations: 66.06 kB / 0.8785 GB, free: 12.53 MB / 0.6856 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.0003528/0.8009, allocations: 245.5 kB / 0.8787 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 7.14e-05/0.801, allocations: 12.11 kB / 0.8787 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.801, allocations: 0 / 0.8787 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.801, allocations: 1.031 kB / 0.8787 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.8014, allocations: 461.2 kB / 0.8792 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002722/0.8017, allocations: 221.8 kB / 0.8794 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.802, allocations: 0.6746 MB / 0.88 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.8021, allocations: 9.5 kB / 0.8801 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of SimCode: time 7.51e-07/0.8021, allocations: 0 / 0.8801 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of Templates: time 0.003184/0.8053, allocations: 1.24 MB / 0.8813 GB, free: 10.82 MB / 0.6856 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: 8.881243866999284] Failed to read output from testmodel.py, exit status != 0: 0.8116163380036596 0.825147092 0.027534398 Calling exit ...