Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006094/0.006094, allocations: 103.2 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 190.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7901/0.7901, allocations: 135.1 MB / 425.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 66.36 kB / 0.5856 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1842, allocations: 80.93 MB / 0.6646 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006015/0.1902, allocations: 3.735 MB / 0.6683 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001817/0.1904, allocations: 151.5 kB / 0.6684 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.048e-05/0.1905, allocations: 0 / 0.6684 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.1906, allocations: 4 kB / 0.6684 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.368e-05/0.1907, allocations: 11.92 kB / 0.6684 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.1911, allocations: 87.69 kB / 0.6685 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.51e-05/0.1912, allocations: 31.91 kB / 0.6685 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.1912, allocations: 4 kB / 0.6685 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.039e-05/0.1913, allocations: 15.92 kB / 0.6686 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.737e-05/0.1914, allocations: 23.91 kB / 0.6686 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.1914, allocations: 0 / 0.6686 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005663/0.192, allocations: 187.4 kB / 0.6688 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.192, allocations: 7.984 kB / 0.6688 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.1921, allocations: 11.94 kB / 0.6688 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.1922, allocations: 47.89 kB / 0.6688 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1922, allocations: 0 / 0.6688 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1922, allocations: 0 / 0.6688 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.1922, allocations: 0 / 0.6688 GB, free: 1.508 MB / 0.4981 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.0005655/0.1928, allocations: 327.6 kB / 0.6691 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1928, allocations: 9.109 kB / 0.6691 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.025e-05/0.1929, allocations: 16.84 kB / 0.6692 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.1931, allocations: 168.3 kB / 0.6693 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.7e-05/0.1931, allocations: 34.2 kB / 0.6694 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.1932, allocations: 384 / 0.6694 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.1933, allocations: 45.62 kB / 0.6694 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.1933, allocations: 0 / 0.6694 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1933, allocations: 0 / 0.6694 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.1934, allocations: 4 kB / 0.6694 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.234e-05/0.1934, allocations: 11.98 kB / 0.6694 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005427/0.194, allocations: 338 kB / 0.6697 GB, free: 420 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.895e-05/0.194, allocations: 22.45 kB / 0.6698 GB, free: 388 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.1941, allocations: 8.922 kB / 0.6698 GB, free: 376 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.1942, allocations: 97.02 kB / 0.6699 GB, free: 260 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.1942, allocations: 30.56 kB / 0.6699 GB, free: 220 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.1942, allocations: 4 kB / 0.6699 GB, free: 216 kB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001549/0.1944, allocations: 33.7 kB / 0.6699 GB, free: 176 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.1944, allocations: 55.34 kB / 0.67 GB, free: 108 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.1945, allocations: 105.9 kB / 0.6701 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.1946, allocations: 25.7 kB / 0.6701 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.1946, allocations: 84.05 kB / 0.6702 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.294e-06/0.1947, allocations: 7.891 kB / 0.6702 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.1947, allocations: 21.66 kB / 0.6702 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1948, allocations: 318.9 kB / 0.6705 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.795e-05/0.1949, allocations: 4 kB / 0.6705 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.999e-05/0.1949, allocations: 21.7 kB / 0.6705 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.506e-05/0.195, allocations: 17.72 kB / 0.6706 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.195, allocations: 0 / 0.6706 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.681e-05/0.1951, allocations: 53.62 kB / 0.6706 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1951, allocations: 4 kB / 0.6706 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1951, allocations: 0 / 0.6706 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1951, allocations: 4 kB / 0.6706 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.569e-05/0.1952, allocations: 4 kB / 0.6706 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1952, allocations: 0 / 0.6706 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.1952, allocations: 0 / 0.6706 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1952, allocations: 4 kB / 0.6706 GB, free: 15.39 MB / 0.5137 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 0.0001824/0.1954, allocations: 123 kB / 0.6707 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.1954, allocations: 8.062 kB / 0.6707 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.1956, allocations: 113 kB / 0.6709 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.157e-05/0.1957, allocations: 184.3 kB / 0.671 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001044/0.1958, allocations: 184.2 kB / 0.6712 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.278e-05/0.1958, allocations: 176.3 kB / 0.6714 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/0.1962, allocations: 417.1 kB / 0.6718 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.416e-05/0.1963, allocations: 101 kB / 0.6719 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.1963, allocations: 104.9 kB / 0.672 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.426e-05/0.1964, allocations: 180.3 kB / 0.6721 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.227e-05/0.1965, allocations: 176.3 kB / 0.6723 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.959e-05/0.1965, allocations: 188.1 kB / 0.6725 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.853e-05/0.1966, allocations: 184.3 kB / 0.6727 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.1968, allocations: 311.6 kB / 0.673 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/0.1968, allocations: 186.1 kB / 0.6731 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.898e-05/0.1969, allocations: 184.1 kB / 0.6733 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.1971, allocations: 113 kB / 0.6734 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.1972, allocations: 184.2 kB / 0.6736 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.1973, allocations: 105 kB / 0.6737 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.313e-05/0.1973, allocations: 87.22 kB / 0.6738 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1973, allocations: 0 / 0.6738 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002818/0.1976, allocations: 16 kB / 0.6738 GB, free: 11.91 MB / 0.5137 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.0002871/0.1979, allocations: 202.4 kB / 0.674 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.845e-05/0.198, allocations: 15.92 kB / 0.674 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.198, allocations: 0 / 0.674 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.198, allocations: 0 / 0.674 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/0.1985, allocations: 459.8 kB / 0.6744 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.1988, allocations: 178 kB / 0.6746 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.1992, allocations: 0.669 MB / 0.6753 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.611e-05/0.1992, allocations: 11.98 kB / 0.6753 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.413e-05/0.1992, allocations: 7.438 kB / 0.6753 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.1993, allocations: 0 / 0.6753 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of Templates: time 0.003284/0.2025, allocations: 0.6483 MB / 0.6759 GB, free: 9.684 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)