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.3104/0.3104, allocations: 54.33 MB / 66.89 MB, free: 6.102 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.001139/0.001139, allocations: 174 kB / 80.7 MB, free: 15.41 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.671/1.671, allocations: 194.2 MB / 288.6 MB, free: 15.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001614/0.001613, allocations: 123.9 kB / 346.9 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.58e-05/3.581e-05, allocations: 8 kB / 412.4 MB, free: 21.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1319, allocations: 57.63 MB / 470 MB, free: 11.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.086/1.218, allocations: 319.9 MB / 0.7714 GB, free: 60.95 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/1.218, allocations: 69.2 kB / 0.7714 GB, free: 60.92 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02475/1.243, allocations: 11.26 MB / 0.7824 GB, free: 52.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.344e-06/1.243, allocations: 0 / 0.7824 GB, free: 52.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.696e-06/1.243, allocations: 3.938 kB / 0.7824 GB, free: 52.23 MB / 490.7 MB 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.0002925/1.243, allocations: 330.1 kB / 0.7827 GB, free: 51.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/1.243, allocations: 8.031 kB / 0.7827 GB, free: 51.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/1.243, allocations: 3.906 kB / 0.7828 GB, free: 51.85 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/1.244, allocations: 171.1 kB / 0.7829 GB, free: 51.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.668e-05/1.244, allocations: 25.7 kB / 0.7829 GB, free: 51.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/1.244, allocations: 3.953 kB / 0.7829 GB, free: 51.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/1.244, allocations: 40.38 kB / 0.783 GB, free: 51.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/1.244, allocations: 0 / 0.783 GB, free: 51.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/1.244, allocations: 0 / 0.783 GB, free: 51.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/1.244, allocations: 11.94 kB / 0.783 GB, free: 51.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.767e-05/1.244, allocations: 18.48 kB / 0.783 GB, free: 51.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/1.244, allocations: 334.9 kB / 0.7833 GB, free: 51.15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.513e-05/1.244, allocations: 18.58 kB / 0.7833 GB, free: 51.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.698e-05/1.244, allocations: 4.859 kB / 0.7834 GB, free: 51.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.903e-05/1.244, allocations: 89.14 kB / 0.7834 GB, free: 51.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/1.244, allocations: 36.81 kB / 0.7835 GB, free: 50.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/1.244, allocations: 3.938 kB / 0.7835 GB, free: 50.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001253/1.245, allocations: 33.7 kB / 0.7835 GB, free: 50.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/1.245, allocations: 51.41 kB / 0.7836 GB, free: 50.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.437e-05/1.245, allocations: 99.34 kB / 0.7837 GB, free: 50.76 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/1.245, allocations: 25.7 kB / 0.7837 GB, free: 50.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.639e-05/1.245, allocations: 90.42 kB / 0.7838 GB, free: 50.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.199e-06/1.245, allocations: 0 / 0.7838 GB, free: 50.64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/1.245, allocations: 0 / 0.7838 GB, free: 50.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.664e-05/1.245, allocations: 310.8 kB / 0.7841 GB, free: 50.33 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/1.245, allocations: 10.41 kB / 0.7841 GB, free: 50.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.134e-05/1.245, allocations: 17.7 kB / 0.7841 GB, free: 50.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.166e-05/1.245, allocations: 6.438 kB / 0.7841 GB, free: 50.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.245, allocations: 3.953 kB / 0.7841 GB, free: 50.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.853e-05/1.245, allocations: 52.16 kB / 0.7841 GB, free: 50.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/1.245, allocations: 6.031 kB / 0.7842 GB, free: 50.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.245, allocations: 4 kB / 0.7842 GB, free: 50.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/1.245, allocations: 4.062 kB / 0.7842 GB, free: 50.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.535e-05/1.245, allocations: 4 kB / 0.7842 GB, free: 50.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.245, allocations: 0 / 0.7842 GB, free: 50.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.69e-05/1.245, allocations: 0 / 0.7842 GB, free: 50.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/1.245, allocations: 7.938 kB / 0.7842 GB, free: 50.21 MB / 490.7 MB 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 4.513e-05/1.245, allocations: 101.7 kB / 0.7843 GB, free: 50.11 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/1.245, allocations: 10.52 kB / 0.7843 GB, free: 50.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.793e-05/1.245, allocations: 117 kB / 0.7844 GB, free: 49.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.98e-05/1.245, allocations: 186.5 kB / 0.7846 GB, free: 49.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.763e-05/1.245, allocations: 180.2 kB / 0.7847 GB, free: 49.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-05/1.245, allocations: 180.3 kB / 0.7849 GB, free: 49.42 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/1.246, allocations: 408 kB / 0.7853 GB, free: 48.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/1.246, allocations: 105 kB / 0.7854 GB, free: 48.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.949e-05/1.246, allocations: 112.9 kB / 0.7855 GB, free: 48.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.169e-05/1.246, allocations: 187.5 kB / 0.7857 GB, free: 48.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/1.246, allocations: 176.3 kB / 0.7859 GB, free: 48.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.76e-05/1.246, allocations: 180.2 kB / 0.786 GB, free: 48.19 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-05/1.246, allocations: 176.3 kB / 0.7862 GB, free: 48.01 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.207e-05/1.246, allocations: 310.8 kB / 0.7865 GB, free: 47.69 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/1.246, allocations: 185.2 kB / 0.7867 GB, free: 47.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.62e-05/1.246, allocations: 188.1 kB / 0.7868 GB, free: 47.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.855e-05/1.246, allocations: 105 kB / 0.7869 GB, free: 47.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/1.246, allocations: 184.2 kB / 0.7871 GB, free: 47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/1.246, allocations: 101 kB / 0.7872 GB, free: 46.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.961e-05/1.246, allocations: 85.77 kB / 0.7873 GB, free: 46.81 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.246, allocations: 0 / 0.7873 GB, free: 46.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002071/1.246, allocations: 15.94 kB / 0.7873 GB, free: 46.79 MB / 490.7 MB 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.0001845/1.247, allocations: 210 kB / 0.7875 GB, free: 46.58 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.447e-05/1.247, allocations: 11.94 kB / 0.7875 GB, free: 46.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.247, allocations: 2.688 kB / 0.7875 GB, free: 46.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/1.247, allocations: 0 / 0.7875 GB, free: 46.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/1.247, allocations: 0.5264 MB / 0.788 GB, free: 46.04 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001569/1.247, allocations: 127.3 kB / 0.7882 GB, free: 45.89 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/1.247, allocations: 0.677 MB / 0.7888 GB, free: 45.19 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.85e-05/1.247, allocations: 4 kB / 0.7888 GB, free: 45.19 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.608e-05/1.247, allocations: 11.44 kB / 0.7888 GB, free: 45.18 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/1.247, allocations: 4 kB / 0.7888 GB, free: 45.17 MB / 490.7 MB Notification: Performance of Templates: time 0.002904/1.25, allocations: 0.8282 MB / 0.7897 GB, free: 44.36 MB / 490.7 MB 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)