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.000891/0.0008911, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001089/0.001089, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.028/1.028, allocations: 135.3 MB / 426.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003851, allocations: 8 kB / 0.507 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.205, allocations: 82.31 MB / 0.5874 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00551/0.2106, allocations: 3.285 MB / 0.5906 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002496/0.2109, allocations: 151.6 kB / 0.5907 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.948e-05/0.2109, allocations: 0 / 0.5907 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.211, allocations: 3.984 kB / 0.5907 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.2112, allocations: 11.88 kB / 0.5907 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.2116, allocations: 63.77 kB / 0.5908 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.2117, allocations: 43.89 kB / 0.5908 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.843e-05/0.2118, allocations: 0 / 0.5908 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.272e-05/0.2119, allocations: 23.91 kB / 0.5909 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.573e-05/0.212, allocations: 8 kB / 0.5909 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.212, allocations: 0 / 0.5909 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006482/0.2127, allocations: 151.6 kB / 0.591 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.637e-05/0.2127, allocations: 3.984 kB / 0.591 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.2128, allocations: 33.64 kB / 0.591 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.2129, allocations: 31.98 kB / 0.5911 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2129, allocations: 0 / 0.5911 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2129, allocations: 4 kB / 0.5911 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2129, allocations: 0 / 0.5911 GB, free: 15.3 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.0004175/0.2133, allocations: 335.5 kB / 0.5914 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.2134, allocations: 8.031 kB / 0.5914 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.2135, allocations: 7.953 kB / 0.5914 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.2136, allocations: 163.1 kB / 0.5916 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.97e-05/0.2137, allocations: 29.69 kB / 0.5916 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.2137, allocations: 11.98 kB / 0.5916 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.2139, allocations: 37.69 kB / 0.5916 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.2139, allocations: 0 / 0.5916 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.2139, allocations: 0 / 0.5916 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.2139, allocations: 4 kB / 0.5916 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.123e-05/0.214, allocations: 19.92 kB / 0.5917 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.2145, allocations: 334 kB / 0.592 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.204e-05/0.2146, allocations: 18.58 kB / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.2146, allocations: 8.844 kB / 0.592 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.2147, allocations: 89.16 kB / 0.5921 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.2147, allocations: 30.56 kB / 0.5921 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.2147, allocations: 0 / 0.5921 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001776/0.2149, allocations: 45.59 kB / 0.5922 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.215, allocations: 55.53 kB / 0.5922 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.937e-05/0.2151, allocations: 101.8 kB / 0.5923 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.2151, allocations: 25.7 kB / 0.5923 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.2152, allocations: 91.98 kB / 0.5924 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.993e-06/0.2152, allocations: 3.906 kB / 0.5924 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.2152, allocations: 0 / 0.5924 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2153, allocations: 314.8 kB / 0.5927 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/0.2154, allocations: 7.984 kB / 0.5927 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.864e-05/0.2154, allocations: 17.72 kB / 0.5928 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.233e-05/0.2154, allocations: 4 kB / 0.5928 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2154, allocations: 3.938 kB / 0.5928 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.219e-05/0.2155, allocations: 49.62 kB / 0.5928 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.2156, allocations: 4 kB / 0.5928 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.2156, allocations: 0 / 0.5928 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.2156, allocations: 4 kB / 0.5928 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.271e-05/0.2156, allocations: 11.94 kB / 0.5928 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.2157, allocations: 4.062 kB / 0.5928 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.216e-05/0.2157, allocations: 3.938 kB / 0.5928 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.2157, allocations: 7.938 kB / 0.5928 GB, free: 13.22 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.788e-05/0.2158, allocations: 109.8 kB / 0.5929 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.2159, allocations: 4 kB / 0.593 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.216, allocations: 113 kB / 0.5931 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.021e-05/0.2161, allocations: 192.2 kB / 0.5932 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.289e-05/0.2162, allocations: 180.2 kB / 0.5934 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.63e-05/0.2162, allocations: 176.3 kB / 0.5936 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.2165, allocations: 409.2 kB / 0.594 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.096e-05/0.2166, allocations: 101 kB / 0.5941 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.2166, allocations: 104.9 kB / 0.5942 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.988e-05/0.2167, allocations: 188.2 kB / 0.5944 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.443e-05/0.2168, allocations: 180.3 kB / 0.5945 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.224e-05/0.2169, allocations: 180.2 kB / 0.5947 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.845e-05/0.217, allocations: 176.3 kB / 0.5949 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.2171, allocations: 323.6 kB / 0.5952 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.488e-05/0.2172, allocations: 182.1 kB / 0.5953 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.425e-05/0.2173, allocations: 184.2 kB / 0.5955 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.2175, allocations: 109 kB / 0.5956 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.209e-05/0.2176, allocations: 184.2 kB / 0.5958 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.2176, allocations: 101 kB / 0.5959 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.88e-05/0.2177, allocations: 91.27 kB / 0.596 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.2177, allocations: 0 / 0.596 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002837/0.218, allocations: 15.95 kB / 0.596 GB, free: 9.77 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001809/0.2182, allocations: 198 kB / 0.5962 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.601e-05/0.2182, allocations: 7.938 kB / 0.5962 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2183, allocations: 0 / 0.5962 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.2183, allocations: 0 / 0.5962 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.2187, allocations: 0.5265 MB / 0.5967 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002705/0.219, allocations: 187.8 kB / 0.5969 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.2193, allocations: 0.677 MB / 0.5975 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.451e-05/0.2193, allocations: 15.06 kB / 0.5976 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.2194, allocations: 15.38 kB / 0.5976 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of SimCode: time 1.153e-06/0.2194, allocations: 0 / 0.5976 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of Templates: time 0.003035/0.2224, allocations: 0.553 MB / 0.5981 GB, free: 7.551 MB / 0.4981 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)