Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001595/0.001595, allocations: 183.4 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.588/1.588, allocations: 194.3 MB / 203.1 MB, free: 13.01 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.001661/0.001661, allocations: 128.1 kB / 248.1 MB, free: 8 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.545e-05/1.546e-05, allocations: 0 / 298.1 MB, free: 35.48 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0825/0.08254, allocations: 44.49 MB / 342.6 MB, free: 6.977 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4084/0.491, allocations: 185.1 MB / 0.5154 GB, free: 3.637 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004246/0.4915, allocations: 89.38 kB / 0.5154 GB, free: 3.586 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8037/1.295, allocations: 198.9 MB / 0.7097 GB, free: 90.72 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.382e-06/1.295, allocations: 0 / 0.7097 GB, free: 90.72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.062e-05/1.295, allocations: 11.16 kB / 0.7097 GB, free: 90.72 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001877/1.297, allocations: 0.9654 MB / 0.7106 GB, free: 90.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/1.297, allocations: 11.44 kB / 0.7106 GB, free: 90.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002917/1.298, allocations: 45.27 kB / 0.7107 GB, free: 90.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/1.298, allocations: 288.1 kB / 0.7109 GB, free: 90.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/1.298, allocations: 11.88 kB / 0.711 GB, free: 90.15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/1.298, allocations: 17.09 kB / 0.711 GB, free: 90.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002567/1.298, allocations: 157.3 kB / 0.7111 GB, free: 90.15 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/1.299, allocations: 293.2 kB / 0.7114 GB, free: 90.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/1.299, allocations: 0 / 0.7114 GB, free: 90.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/1.299, allocations: 0 / 0.7114 GB, free: 90.03 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/1.299, allocations: 10.22 kB / 0.7114 GB, free: 90.03 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/1.3, allocations: 2.007 MB / 0.7134 GB, free: 88.37 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/1.3, allocations: 163.5 kB / 0.7135 GB, free: 88.35 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.033e-05/1.3, allocations: 73.02 kB / 0.7136 GB, free: 88.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/1.301, allocations: 262.6 kB / 0.7138 GB, free: 88.06 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/1.301, allocations: 41.31 kB / 0.7139 GB, free: 88.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.323e-06/1.301, allocations: 0 / 0.7139 GB, free: 88.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=30): time 0.00211/1.303, allocations: 0.8045 MB / 0.7147 GB, free: 87.71 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/1.303, allocations: 54.59 kB / 0.7147 GB, free: 87.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/1.303, allocations: 201 kB / 0.7149 GB, free: 87.56 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/1.303, allocations: 25.7 kB / 0.7149 GB, free: 87.53 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/1.303, allocations: 188.3 kB / 0.7151 GB, free: 87.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/1.303, allocations: 101.6 kB / 0.7152 GB, free: 87.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/1.303, allocations: 0 / 0.7152 GB, free: 87.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.987e-05/1.303, allocations: 339.1 kB / 0.7155 GB, free: 87.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/1.303, allocations: 78.55 kB / 0.7156 GB, free: 87.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/1.303, allocations: 159.5 kB / 0.7158 GB, free: 86.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004473/1.304, allocations: 124.2 kB / 0.7159 GB, free: 86.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.304, allocations: 7.75 kB / 0.7159 GB, free: 86.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007072/1.305, allocations: 367.2 kB / 0.7162 GB, free: 86.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.305, allocations: 3.844 kB / 0.7162 GB, free: 86.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.305, allocations: 3.906 kB / 0.7162 GB, free: 86.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002877/1.305, allocations: 86.22 kB / 0.7163 GB, free: 86.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/1.305, allocations: 66.14 kB / 0.7164 GB, free: 86.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000541/1.306, allocations: 0.6772 MB / 0.7171 GB, free: 86.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/1.306, allocations: 14.88 kB / 0.7171 GB, free: 86.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/1.306, allocations: 19.12 kB / 0.7171 GB, free: 86.36 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001432/1.306, allocations: 127.3 kB / 0.7172 GB, free: 86.24 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/1.306, allocations: 26.44 kB / 0.7172 GB, free: 86.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000796/1.307, allocations: 389.4 kB / 0.7176 GB, free: 86.13 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/1.307, allocations: 3.719 kB / 0.7176 GB, free: 86.13 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/1.307, allocations: 0 / 0.7176 GB, free: 86.13 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000595/1.308, allocations: 0.5657 MB / 0.7182 GB, free: 85.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009638/1.309, allocations: 0.6915 MB / 0.7188 GB, free: 85.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.309, allocations: 0 / 0.7188 GB, free: 85.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/1.309, allocations: 35.47 kB / 0.7189 GB, free: 85.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002162/1.309, allocations: 76.09 kB / 0.7189 GB, free: 85.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/1.309, allocations: 7.094 kB / 0.719 GB, free: 85.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004374/1.309, allocations: 0.6576 MB / 0.7196 GB, free: 84.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.31, allocations: 7.797 kB / 0.7196 GB, free: 84.83 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007068/1.31, allocations: 481.5 kB / 0.7201 GB, free: 84.62 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7e-05/1.31, allocations: 111.8 kB / 0.7202 GB, free: 84.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/1.31, allocations: 0 / 0.7202 GB, free: 84.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/1.311, allocations: 10.97 kB / 0.7202 GB, free: 84.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/1.311, allocations: 26.42 kB / 0.7202 GB, free: 84.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/1.311, allocations: 17.11 kB / 0.7202 GB, free: 84.51 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001259/1.311, allocations: 163.8 kB / 0.7204 GB, free: 84.44 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.311, allocations: 0 / 0.7204 GB, free: 84.44 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006533/1.311, allocations: 148.7 kB / 0.7205 GB, free: 84.42 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003707/1.312, allocations: 222.5 kB / 0.7207 GB, free: 84.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004708/1.312, allocations: 225.4 kB / 0.7209 GB, free: 84.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.312, allocations: 0 / 0.7209 GB, free: 84.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002077/1.313, allocations: 119 kB / 0.7211 GB, free: 84.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007238/1.313, allocations: 130.4 kB / 0.7212 GB, free: 84.31 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007396/1.314, allocations: 420.2 kB / 0.7216 GB, free: 84.16 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/1.314, allocations: 0.7703 MB / 0.7223 GB, free: 83.46 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002664/1.315, allocations: 59.73 kB / 0.7224 GB, free: 83.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/1.315, allocations: 30.22 kB / 0.7224 GB, free: 83.45 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/1.315, allocations: 3.609 kB / 0.7224 GB, free: 83.45 MB / 394.7 MB Notification: Performance of Templates: time 0.01077/1.325, allocations: 6.583 MB / 0.7289 GB, free: 83.23 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)