Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7313/0.7313, allocations: 130.5 MB / 143.8 MB, free: 13.58 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 221.3 MB / 396.8 MB, free: 9.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 98.77 kB / 479 MB, free: 10.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.507e-05/3.509e-05, allocations: 2.469 kB / 0.5551 GB, free: 86.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1922, allocations: 81.59 MB / 0.6347 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.349/1.541, allocations: 350.9 MB / 0.9774 GB, free: 266.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/1.542, allocations: 70.59 kB / 0.9775 GB, free: 266.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03051/1.572, allocations: 13.26 MB / 0.9904 GB, free: 263.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.492e-06/1.572, allocations: 0 / 0.9904 GB, free: 263.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.044e-05/1.572, allocations: 1.375 kB / 0.9904 GB, free: 263.4 MB / 0.6823 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.0003632/1.573, allocations: 328.4 kB / 0.9907 GB, free: 263.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.251e-05/1.573, allocations: 8.75 kB / 0.9907 GB, free: 263.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.118e-05/1.573, allocations: 14.53 kB / 0.9908 GB, free: 263.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/1.573, allocations: 172 kB / 0.9909 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.014e-05/1.573, allocations: 26.7 kB / 0.9909 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/1.573, allocations: 6.078 kB / 0.991 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/1.573, allocations: 41.3 kB / 0.991 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.573, allocations: 0 / 0.991 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/1.573, allocations: 1 kB / 0.991 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/1.573, allocations: 1.25 kB / 0.991 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.619e-05/1.573, allocations: 15.44 kB / 0.991 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005214/1.574, allocations: 343.7 kB / 0.9913 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.247e-05/1.574, allocations: 20.58 kB / 0.9914 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.945e-05/1.574, allocations: 6.359 kB / 0.9914 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.412e-05/1.574, allocations: 82.45 kB / 0.9914 GB, free: 262.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/1.574, allocations: 35.75 kB / 0.9915 GB, free: 262.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/1.574, allocations: 0 / 0.9915 GB, free: 262.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001665/1.574, allocations: 47.16 kB / 0.9915 GB, free: 262.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/1.574, allocations: 55.34 kB / 0.9916 GB, free: 262.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.919e-05/1.574, allocations: 91.22 kB / 0.9917 GB, free: 262 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/1.574, allocations: 25.7 kB / 0.9917 GB, free: 262 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/1.574, allocations: 89.11 kB / 0.9918 GB, free: 261.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.789e-06/1.574, allocations: 4.922 kB / 0.9918 GB, free: 261.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-06/1.574, allocations: 0 / 0.9918 GB, free: 261.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.937e-05/1.575, allocations: 315.8 kB / 0.9921 GB, free: 261.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.409e-05/1.575, allocations: 6.875 kB / 0.9921 GB, free: 261.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.646e-05/1.575, allocations: 17.88 kB / 0.9921 GB, free: 261.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.307e-05/1.575, allocations: 4.469 kB / 0.9921 GB, free: 261.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.575, allocations: 0 / 0.9921 GB, free: 261.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.7e-05/1.575, allocations: 54.14 kB / 0.9922 GB, free: 261.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/1.575, allocations: 6.719 kB / 0.9922 GB, free: 261.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/1.575, allocations: 1.062 kB / 0.9922 GB, free: 261.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/1.575, allocations: 5 kB / 0.9922 GB, free: 261.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/1.575, allocations: 7.828 kB / 0.9922 GB, free: 261.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/1.575, allocations: 8.938 kB / 0.9922 GB, free: 261.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/1.575, allocations: 1.031 kB / 0.9922 GB, free: 261.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/1.575, allocations: 2.031 kB / 0.9922 GB, free: 261.5 MB / 0.6823 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 () * 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 7.267e-05/1.575, allocations: 105.8 kB / 0.9923 GB, free: 261.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/1.575, allocations: 6.062 kB / 0.9923 GB, free: 261.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/1.575, allocations: 127.9 kB / 0.9924 GB, free: 261.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.44e-05/1.575, allocations: 177.3 kB / 0.9926 GB, free: 261.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.017e-05/1.575, allocations: 181.3 kB / 0.9928 GB, free: 260.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.942e-05/1.575, allocations: 181.2 kB / 0.9929 GB, free: 260.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/1.576, allocations: 404.3 kB / 0.9933 GB, free: 260.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.779e-05/1.576, allocations: 105.9 kB / 0.9934 GB, free: 260.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.574e-05/1.576, allocations: 110 kB / 0.9935 GB, free: 260.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.85e-05/1.576, allocations: 181.2 kB / 0.9937 GB, free: 259.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.045e-05/1.576, allocations: 177.3 kB / 0.9939 GB, free: 259.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.094e-05/1.576, allocations: 181.3 kB / 0.994 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.511e-05/1.576, allocations: 185.2 kB / 0.9942 GB, free: 259.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/1.576, allocations: 312.2 kB / 0.9945 GB, free: 259 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.715e-05/1.576, allocations: 187.3 kB / 0.9947 GB, free: 258.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-05/1.576, allocations: 181.2 kB / 0.9949 GB, free: 258.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/1.576, allocations: 109.2 kB / 0.995 GB, free: 258.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/1.576, allocations: 185.5 kB / 0.9951 GB, free: 258.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/1.577, allocations: 106.1 kB / 0.9952 GB, free: 258.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.514e-05/1.577, allocations: 89.45 kB / 0.9953 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/1.577, allocations: 0 / 0.9953 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003206/1.577, allocations: 15.34 kB / 0.9953 GB, free: 258.1 MB / 0.6823 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 () * 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.000285/1.577, allocations: 217.8 kB / 0.9956 GB, free: 258 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.527e-05/1.577, allocations: 13.98 kB / 0.9956 GB, free: 257.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.577, allocations: 1.656 kB / 0.9956 GB, free: 257.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.805e-06/1.577, allocations: 3.938 kB / 0.9956 GB, free: 257.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/1.578, allocations: 0.5212 MB / 0.9961 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001571/1.578, allocations: 130 kB / 0.9962 GB, free: 257.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/1.578, allocations: 0.6779 MB / 0.9969 GB, free: 256.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.638e-05/1.578, allocations: 7.969 kB / 0.9969 GB, free: 256.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/1.578, allocations: 13.78 kB / 0.9969 GB, free: 256.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/1.578, allocations: 0 / 0.9969 GB, free: 256.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.003318/1.581, allocations: 0.8689 MB / 0.9977 GB, free: 256.4 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)