Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.001591/0.001591, allocations: 109.5 kB / 17.08 MB, free: 6.008 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.001417/0.001417, allocations: 194.2 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.454/1.454, allocations: 222.9 MB / 245.7 MB, free: 4.234 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.19/1.19, allocations: 173.4 MB / 471.3 MB, free: 6.625 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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 70.12 kB / 0.649 GB, free: 22.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1845, allocations: 89.53 MB / 0.7364 GB, free: 3.707 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006024/0.1906, allocations: 4.012 MB / 0.7403 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002232/0.1909, allocations: 151.5 kB / 0.7405 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.1909, allocations: 0 / 0.7405 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.191, allocations: 3.938 kB / 0.7405 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.429e-05/0.1911, allocations: 19.97 kB / 0.7405 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.1915, allocations: 79.69 kB / 0.7406 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.542e-05/0.1916, allocations: 31.91 kB / 0.7406 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.1916, allocations: 11.94 kB / 0.7406 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.939e-05/0.1917, allocations: 11.98 kB / 0.7406 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.592e-05/0.1918, allocations: 11.92 kB / 0.7406 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.1918, allocations: 4 kB / 0.7406 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.192, allocations: 55.81 kB / 0.7407 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.879e-05/0.192, allocations: 15.98 kB / 0.7407 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.1921, allocations: 11.92 kB / 0.7407 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.1922, allocations: 39.91 kB / 0.7407 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1922, allocations: 0 / 0.7407 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1922, allocations: 0 / 0.7407 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.1923, allocations: 0 / 0.7407 GB, free: 15.22 MB / 0.5606 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.0004378/0.1927, allocations: 335.4 kB / 0.7411 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1927, allocations: 11.97 kB / 0.7411 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.1928, allocations: 4.938 kB / 0.7411 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.1929, allocations: 172.3 kB / 0.7412 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.457e-05/0.193, allocations: 26.27 kB / 0.7413 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.193, allocations: 8.359 kB / 0.7413 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.1932, allocations: 45.62 kB / 0.7413 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1932, allocations: 0 / 0.7413 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1932, allocations: 0 / 0.7413 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.1932, allocations: 0 / 0.7413 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.59e-05/0.1933, allocations: 15.98 kB / 0.7413 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.1938, allocations: 349.8 kB / 0.7417 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.065e-05/0.1938, allocations: 18.52 kB / 0.7417 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.767e-05/0.1938, allocations: 8.859 kB / 0.7417 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.515e-05/0.1939, allocations: 89.16 kB / 0.7418 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.194, allocations: 30.56 kB / 0.7418 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.194, allocations: 0 / 0.7418 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001445/0.1941, allocations: 41.64 kB / 0.7418 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.1942, allocations: 51.41 kB / 0.7419 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.805e-05/0.1943, allocations: 101.8 kB / 0.742 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.1943, allocations: 25.7 kB / 0.742 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.1944, allocations: 88.09 kB / 0.7421 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.548e-06/0.1944, allocations: 0 / 0.7421 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.1944, allocations: 21.7 kB / 0.7421 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1946, allocations: 314.9 kB / 0.7424 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.1946, allocations: 8 kB / 0.7424 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.459e-05/0.1946, allocations: 17.72 kB / 0.7424 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.34e-05/0.1947, allocations: 17.7 kB / 0.7425 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.1947, allocations: 0 / 0.7425 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.971e-05/0.1948, allocations: 57.58 kB / 0.7425 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1948, allocations: 4.062 kB / 0.7425 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1948, allocations: 4 kB / 0.7425 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1948, allocations: 0 / 0.7425 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.479e-05/0.1949, allocations: 8 kB / 0.7425 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1949, allocations: 0 / 0.7425 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.1949, allocations: 0 / 0.7425 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.1949, allocations: 7.938 kB / 0.7425 GB, free: 13.1 MB / 0.5606 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 7.967e-05/0.195, allocations: 113.8 kB / 0.7426 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.195, allocations: 0 / 0.7426 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.1952, allocations: 124.9 kB / 0.7428 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.85e-05/0.1953, allocations: 184.5 kB / 0.7429 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.81e-05/0.1954, allocations: 184.3 kB / 0.7431 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.317e-05/0.1955, allocations: 188.2 kB / 0.7433 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.1958, allocations: 413.1 kB / 0.7437 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.351e-05/0.1958, allocations: 105 kB / 0.7438 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.654e-05/0.1959, allocations: 104.9 kB / 0.7439 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.884e-05/0.196, allocations: 176.3 kB / 0.7441 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.815e-05/0.1961, allocations: 184.2 kB / 0.7442 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-05/0.1961, allocations: 180.2 kB / 0.7444 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-05/0.1962, allocations: 180.2 kB / 0.7446 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.1964, allocations: 311.7 kB / 0.7449 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-05/0.1965, allocations: 182 kB / 0.7451 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.1966, allocations: 192.2 kB / 0.7452 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.1968, allocations: 105 kB / 0.7453 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.702e-05/0.1969, allocations: 184.2 kB / 0.7455 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.398e-05/0.197, allocations: 101 kB / 0.7456 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.112e-05/0.197, allocations: 87.27 kB / 0.7457 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.197, allocations: 0 / 0.7457 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002638/0.1973, allocations: 15.94 kB / 0.7457 GB, free: 9.641 MB / 0.5606 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.0003271/0.1976, allocations: 202.4 kB / 0.7459 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.166e-05/0.1977, allocations: 11.94 kB / 0.7459 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1978, allocations: 0 / 0.7459 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.1978, allocations: 0 / 0.7459 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.1983, allocations: 466 kB / 0.7464 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/0.1986, allocations: 211.6 kB / 0.7466 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.199, allocations: 0.6768 MB / 0.7472 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.199, allocations: 15.38 kB / 0.7472 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.199, allocations: 0 / 0.7472 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of Templates: time 0.002478/0.2015, allocations: 0.7524 MB / 0.748 GB, free: 7.254 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.52442999300547] Failed to read output from testmodel.py, exit status != 0: 0.20828320877626538 0.223301098 0.028201609000000002 Calling exit ...