Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Annex60.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3299/0.3299, allocations: 55.01 MB / 69.95 MB, free: 8.707 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001195/0.001195, allocations: 184.1 kB / 83.97 MB, free: 10.87 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.044/2.044, allocations: 194.4 MB / 292.3 MB, free: 3.555 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00234/0.00234, allocations: 113.4 kB / 350.7 MB, free: 9.066 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004255, allocations: 12 kB / 418.9 MB, free: 37.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1688, allocations: 57.65 MB / 476.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.217/1.386, allocations: 320 MB / 0.7778 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/1.386, allocations: 68.09 kB / 0.7779 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02565/1.412, allocations: 11.32 MB / 0.7889 GB, free: 100 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.187e-06/1.412, allocations: 4 kB / 0.7889 GB, free: 100 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.087e-05/1.412, allocations: 0 / 0.7889 GB, free: 100 MB / 0.4948 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.0004371/1.413, allocations: 328 kB / 0.7892 GB, free: 99.65 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.868e-05/1.413, allocations: 16.03 kB / 0.7892 GB, free: 99.63 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/1.413, allocations: 3.906 kB / 0.7893 GB, free: 99.63 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/1.413, allocations: 166.3 kB / 0.7894 GB, free: 99.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.712e-05/1.413, allocations: 29.7 kB / 0.7894 GB, free: 99.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/1.413, allocations: 7.891 kB / 0.7894 GB, free: 99.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/1.413, allocations: 45.66 kB / 0.7895 GB, free: 99.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/1.413, allocations: 0 / 0.7895 GB, free: 99.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/1.413, allocations: 7.547 kB / 0.7895 GB, free: 99.33 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/1.413, allocations: 0 / 0.7895 GB, free: 99.33 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.082e-05/1.413, allocations: 15.98 kB / 0.7895 GB, free: 99.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/1.414, allocations: 332.2 kB / 0.7898 GB, free: 98.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.059e-05/1.414, allocations: 18.52 kB / 0.7898 GB, free: 98.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.043e-05/1.414, allocations: 85.16 kB / 0.7899 GB, free: 98.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/1.414, allocations: 34.56 kB / 0.79 GB, free: 98.76 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/1.414, allocations: 4 kB / 0.79 GB, free: 98.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001866/1.414, allocations: 29.7 kB / 0.79 GB, free: 98.72 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/1.414, allocations: 54.91 kB / 0.79 GB, free: 98.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.454e-05/1.415, allocations: 92.98 kB / 0.7901 GB, free: 98.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/1.415, allocations: 29.7 kB / 0.7902 GB, free: 98.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/1.415, allocations: 87.73 kB / 0.7902 GB, free: 98.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.584e-06/1.415, allocations: 3.938 kB / 0.7902 GB, free: 98.44 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/1.415, allocations: 0 / 0.7902 GB, free: 98.44 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.08e-05/1.415, allocations: 315 kB / 0.7905 GB, free: 98.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.846e-05/1.415, allocations: 7.984 kB / 0.7906 GB, free: 98.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.6e-05/1.415, allocations: 17.16 kB / 0.7906 GB, free: 98.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.427e-05/1.415, allocations: 4 kB / 0.7906 GB, free: 98.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.415, allocations: 0 / 0.7906 GB, free: 98.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.018e-05/1.415, allocations: 57.11 kB / 0.7906 GB, free: 98.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/1.415, allocations: 4 kB / 0.7906 GB, free: 98.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/1.415, allocations: 8.062 kB / 0.7906 GB, free: 98.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/1.415, allocations: 0 / 0.7906 GB, free: 98.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.524e-05/1.415, allocations: 4 kB / 0.7906 GB, free: 98.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/1.415, allocations: 3.984 kB / 0.7906 GB, free: 98.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.509e-05/1.415, allocations: 4 kB / 0.7907 GB, free: 98.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/1.415, allocations: 0 / 0.7907 GB, free: 98.01 MB / 0.4948 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 7.721e-05/1.415, allocations: 113.1 kB / 0.7908 GB, free: 97.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/1.415, allocations: 7.953 kB / 0.7908 GB, free: 97.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/1.415, allocations: 123.5 kB / 0.7909 GB, free: 97.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-05/1.416, allocations: 184.2 kB / 0.7911 GB, free: 97.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-05/1.416, allocations: 180 kB / 0.7912 GB, free: 97.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.594e-05/1.416, allocations: 180.2 kB / 0.7914 GB, free: 97.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/1.416, allocations: 404.8 kB / 0.7918 GB, free: 96.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.369e-05/1.416, allocations: 108.9 kB / 0.7919 GB, free: 96.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.763e-05/1.416, allocations: 109 kB / 0.792 GB, free: 96.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.481e-05/1.416, allocations: 180.2 kB / 0.7922 GB, free: 96.35 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.227e-05/1.416, allocations: 184.2 kB / 0.7923 GB, free: 96.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-05/1.416, allocations: 176.3 kB / 0.7925 GB, free: 95.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.926e-05/1.416, allocations: 184.2 kB / 0.7927 GB, free: 95.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/1.416, allocations: 307.1 kB / 0.793 GB, free: 95.47 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/1.416, allocations: 189.9 kB / 0.7932 GB, free: 95.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.625e-05/1.416, allocations: 184.2 kB / 0.7933 GB, free: 95.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/1.417, allocations: 112.9 kB / 0.7934 GB, free: 94.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/1.417, allocations: 180.3 kB / 0.7936 GB, free: 94.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/1.417, allocations: 104.9 kB / 0.7937 GB, free: 94.67 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.377e-05/1.417, allocations: 86.98 kB / 0.7938 GB, free: 94.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/1.417, allocations: 0 / 0.7938 GB, free: 94.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003441/1.417, allocations: 23.92 kB / 0.7938 GB, free: 94.56 MB / 0.4948 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.0003164/1.417, allocations: 202.5 kB / 0.794 GB, free: 94.35 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001109/1.418, allocations: 8.203 kB / 0.794 GB, free: 94.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.418, allocations: 0 / 0.794 GB, free: 94.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/1.418, allocations: 0 / 0.794 GB, free: 94.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/1.418, allocations: 0.5306 MB / 0.7945 GB, free: 93.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/1.418, allocations: 184.3 kB / 0.7947 GB, free: 93.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/1.419, allocations: 0.677 MB / 0.7954 GB, free: 92.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.326e-05/1.419, allocations: 15.92 kB / 0.7954 GB, free: 92.89 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/1.419, allocations: 11.44 kB / 0.7954 GB, free: 92.88 MB / 0.4948 GB Notification: Performance of SimCode: time 2.81e-07/1.419, allocations: 0 / 0.7954 GB, free: 92.88 MB / 0.4948 GB Notification: Performance of Templates: time 0.005005/1.424, allocations: 0.7641 MB / 0.7962 GB, free: 92.12 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)