Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.conf.json 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) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001399/0.0014, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.462/1.462, allocations: 194.3 MB / 208.4 MB, free: 6.699 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001698/0.001698, allocations: 120.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.855e-05/2.857e-05, allocations: 8 kB / 305 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08881/0.08885, allocations: 44.5 MB / 349.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8319/0.9208, allocations: 362.5 MB / 0.6953 GB, free: 10.53 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.9212, allocations: 85.81 kB / 0.6954 GB, free: 10.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3956/1.317, allocations: 80.92 MB / 0.7744 GB, free: 106.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/1.317, allocations: 0 / 0.7744 GB, free: 106.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.718e-05/1.317, allocations: 8 kB / 0.7744 GB, free: 106.5 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009271/1.318, allocations: 0.6014 MB / 0.775 GB, free: 105.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/1.318, allocations: 12.03 kB / 0.775 GB, free: 105.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002704/1.318, allocations: 35.7 kB / 0.775 GB, free: 105.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/1.319, allocations: 270.5 kB / 0.7753 GB, free: 105.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/1.319, allocations: 20.56 kB / 0.7753 GB, free: 105.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/1.319, allocations: 28 kB / 0.7753 GB, free: 105.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004517/1.319, allocations: 291.7 kB / 0.7756 GB, free: 105.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/1.319, allocations: 4 kB / 0.7756 GB, free: 105.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.727e-05/1.319, allocations: 12 kB / 0.7756 GB, free: 105.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/1.319, allocations: 4 kB / 0.7756 GB, free: 105.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002991/1.319, allocations: 197.6 kB / 0.7758 GB, free: 104.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/1.321, allocations: 1.432 MB / 0.7772 GB, free: 103.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/1.321, allocations: 187.2 kB / 0.7774 GB, free: 103.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/1.321, allocations: 85.23 kB / 0.7775 GB, free: 103.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/1.321, allocations: 8.172 kB / 0.7775 GB, free: 103.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/1.321, allocations: 30.75 kB / 0.7775 GB, free: 103 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/1.321, allocations: 0 / 0.7775 GB, free: 103 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.002022/1.323, allocations: 0.863 MB / 0.7784 GB, free: 102.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/1.323, allocations: 55.41 kB / 0.7784 GB, free: 102 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/1.324, allocations: 234.8 kB / 0.7786 GB, free: 101.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/1.324, allocations: 29.7 kB / 0.7787 GB, free: 101.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.578e-05/1.324, allocations: 175.9 kB / 0.7788 GB, free: 101.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/1.324, allocations: 98.64 kB / 0.7789 GB, free: 101.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.458e-05/1.324, allocations: 8 kB / 0.7789 GB, free: 101.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.798e-05/1.324, allocations: 334.8 kB / 0.7793 GB, free: 101.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/1.324, allocations: 79.98 kB / 0.7793 GB, free: 101.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/1.324, allocations: 178.9 kB / 0.7795 GB, free: 100.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/1.324, allocations: 108.9 kB / 0.7796 GB, free: 100.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.324, allocations: 7.938 kB / 0.7796 GB, free: 100.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005613/1.325, allocations: 378.7 kB / 0.78 GB, free: 100.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/1.325, allocations: 4 kB / 0.78 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/1.325, allocations: 7.938 kB / 0.78 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002461/1.325, allocations: 66.05 kB / 0.78 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/1.325, allocations: 63.91 kB / 0.7801 GB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/1.327, allocations: 2.666 MB / 0.7827 GB, free: 97.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/1.327, allocations: 19.95 kB / 0.7827 GB, free: 97.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/1.327, allocations: 15.98 kB / 0.7827 GB, free: 97.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 8.928e-05/1.327, allocations: 130.2 kB / 0.7829 GB, free: 97.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/1.327, allocations: 27.72 kB / 0.7829 GB, free: 97.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.602e-05/1.328, allocations: 34.03 kB / 0.7829 GB, free: 97.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.328, allocations: 4 kB / 0.7829 GB, free: 97.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.328, allocations: 3.984 kB / 0.7829 GB, free: 97.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004443/1.328, allocations: 0.5589 MB / 0.7835 GB, free: 96.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008419/1.329, allocations: 0.699 MB / 0.7842 GB, free: 95.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.329, allocations: 4 kB / 0.7842 GB, free: 95.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/1.329, allocations: 43.92 kB / 0.7842 GB, free: 95.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000196/1.329, allocations: 52.78 kB / 0.7843 GB, free: 95.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/1.329, allocations: 8 kB / 0.7843 GB, free: 95.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007557/1.33, allocations: 1.378 MB / 0.7856 GB, free: 94.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.33, allocations: 0 / 0.7856 GB, free: 94.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005256/1.331, allocations: 475.5 kB / 0.7861 GB, free: 93.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/1.331, allocations: 100.8 kB / 0.7862 GB, free: 93.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/1.331, allocations: 11.95 kB / 0.7862 GB, free: 93.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/1.331, allocations: 19.91 kB / 0.7862 GB, free: 93.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/1.331, allocations: 19.97 kB / 0.7862 GB, free: 93.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/1.331, allocations: 11.98 kB / 0.7862 GB, free: 93.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001343/1.331, allocations: 179.1 kB / 0.7864 GB, free: 93.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.331, allocations: 0 / 0.7864 GB, free: 93.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004187/1.332, allocations: 104 kB / 0.7865 GB, free: 93.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002447/1.332, allocations: 167 kB / 0.7867 GB, free: 92.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006401/1.332, allocations: 473.4 kB / 0.7871 GB, free: 92.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.332, allocations: 0 / 0.7871 GB, free: 92.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002784/1.333, allocations: 226.6 kB / 0.7873 GB, free: 92.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007678/1.334, allocations: 145.8 kB / 0.7875 GB, free: 92.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007729/1.334, allocations: 0.4896 MB / 0.7879 GB, free: 91.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/1.335, allocations: 0.7687 MB / 0.7887 GB, free: 90.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002587/1.335, allocations: 50.94 kB / 0.7887 GB, free: 90.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/1.335, allocations: 31.44 kB / 0.7888 GB, free: 90.65 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/1.335, allocations: 0 / 0.7888 GB, free: 90.65 MB / 410.7 MB Notification: Performance of Templates: time 0.01074/1.346, allocations: 6.015 MB / 0.7946 GB, free: 84.64 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)