Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_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.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001769/0.001769, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.663/1.663, allocations: 170.6 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001928/0.001928, allocations: 103.5 kB / 218 MB, free: 8.41 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.929e-05/1.932e-05, allocations: 4 kB / 262.2 MB, free: 26.38 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1019, allocations: 38.77 MB / 301 MB, free: 3.625 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6948/0.7968, allocations: 179.7 MB / 480.7 MB, free: 102.6 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.7971, allocations: 89.98 kB / 480.8 MB, free: 102.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6212/1.418, allocations: 194.9 MB / 0.6598 GB, free: 64.31 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/1.418, allocations: 0 / 0.6598 GB, free: 64.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.754e-05/1.418, allocations: 11.94 kB / 0.6598 GB, free: 64.3 MB / 346.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.002301/1.421, allocations: 0.9697 MB / 0.6608 GB, free: 63.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/1.421, allocations: 8.031 kB / 0.6608 GB, free: 63.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003926/1.421, allocations: 43.66 kB / 0.6608 GB, free: 63.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004114/1.422, allocations: 293.5 kB / 0.6611 GB, free: 62.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/1.422, allocations: 15.94 kB / 0.6611 GB, free: 62.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.092e-05/1.422, allocations: 16 kB / 0.6612 GB, free: 62.89 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002903/1.422, allocations: 157.1 kB / 0.6613 GB, free: 62.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/1.422, allocations: 285.2 kB / 0.6616 GB, free: 62.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/1.422, allocations: 3.984 kB / 0.6616 GB, free: 62.42 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.95e-05/1.422, allocations: 3.953 kB / 0.6616 GB, free: 62.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/1.422, allocations: 8 kB / 0.6616 GB, free: 62.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/1.424, allocations: 2.011 MB / 0.6636 GB, free: 60.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/1.424, allocations: 166.4 kB / 0.6637 GB, free: 60.04 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.805e-05/1.424, allocations: 73.45 kB / 0.6638 GB, free: 59.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001614/1.425, allocations: 255.2 kB / 0.664 GB, free: 59.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/1.425, allocations: 38.56 kB / 0.6641 GB, free: 59.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.453e-06/1.425, allocations: 0 / 0.6641 GB, free: 59.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.002258/1.427, allocations: 0.8115 MB / 0.6649 GB, free: 58.76 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/1.427, allocations: 59.39 kB / 0.6649 GB, free: 58.69 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/1.427, allocations: 196.5 kB / 0.6651 GB, free: 58.49 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/1.427, allocations: 25.7 kB / 0.6651 GB, free: 58.46 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.332e-05/1.427, allocations: 187.5 kB / 0.6653 GB, free: 58.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.545e-05/1.427, allocations: 102.4 kB / 0.6654 GB, free: 58.17 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/1.427, allocations: 0 / 0.6654 GB, free: 58.17 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.254e-05/1.427, allocations: 342.8 kB / 0.6657 GB, free: 57.83 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/1.428, allocations: 76.73 kB / 0.6658 GB, free: 57.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/1.428, allocations: 158.2 kB / 0.6659 GB, free: 57.56 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004884/1.428, allocations: 127.9 kB / 0.6661 GB, free: 57.44 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.428, allocations: 0 / 0.6661 GB, free: 57.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008476/1.429, allocations: 365.9 kB / 0.6664 GB, free: 57.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/1.429, allocations: 8 kB / 0.6664 GB, free: 57.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.429, allocations: 0 / 0.6664 GB, free: 57.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003053/1.429, allocations: 88.69 kB / 0.6665 GB, free: 56.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/1.43, allocations: 67.91 kB / 0.6666 GB, free: 56.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005797/1.43, allocations: 0.6773 MB / 0.6672 GB, free: 56.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/1.43, allocations: 8.031 kB / 0.6672 GB, free: 56.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/1.431, allocations: 20 kB / 0.6673 GB, free: 56.18 MB / 346.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.0001728/1.431, allocations: 121.4 kB / 0.6674 GB, free: 56.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.329e-05/1.431, allocations: 31.62 kB / 0.6674 GB, free: 56.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008421/1.432, allocations: 385 kB / 0.6678 GB, free: 55.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.432, allocations: 4 kB / 0.6678 GB, free: 55.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.432, allocations: 0 / 0.6678 GB, free: 55.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00059/1.432, allocations: 0.559 MB / 0.6683 GB, free: 54.97 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/1.433, allocations: 0.6847 MB / 0.669 GB, free: 54.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/1.433, allocations: 8 kB / 0.669 GB, free: 54.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/1.433, allocations: 35.97 kB / 0.669 GB, free: 54.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002092/1.434, allocations: 79.25 kB / 0.6691 GB, free: 54.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/1.434, allocations: 11.98 kB / 0.6691 GB, free: 54.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004252/1.434, allocations: 0.6537 MB / 0.6698 GB, free: 53.42 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/1.434, allocations: 0 / 0.6698 GB, free: 53.42 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000703/1.435, allocations: 497.5 kB / 0.6702 GB, free: 52.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-05/1.435, allocations: 104.8 kB / 0.6703 GB, free: 52.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/1.435, allocations: 3.953 kB / 0.6703 GB, free: 52.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/1.435, allocations: 11.91 kB / 0.6704 GB, free: 52.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/1.435, allocations: 15.97 kB / 0.6704 GB, free: 52.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/1.435, allocations: 19.45 kB / 0.6704 GB, free: 52.72 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001156/1.435, allocations: 164.5 kB / 0.6705 GB, free: 52.56 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.21e-07/1.435, allocations: 4.062 kB / 0.6705 GB, free: 52.56 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000636/1.436, allocations: 143.9 kB / 0.6707 GB, free: 52.42 MB / 346.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.0003962/1.436, allocations: 234 kB / 0.6709 GB, free: 52.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004729/1.437, allocations: 231.6 kB / 0.6711 GB, free: 51.97 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.437, allocations: 0 / 0.6711 GB, free: 51.97 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002086/1.437, allocations: 112.6 kB / 0.6712 GB, free: 51.86 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007818/1.438, allocations: 124.2 kB / 0.6714 GB, free: 51.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008441/1.439, allocations: 415.9 kB / 0.6718 GB, free: 51.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/1.439, allocations: 0.7707 MB / 0.6725 GB, free: 50.5 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003443/1.439, allocations: 67.22 kB / 0.6726 GB, free: 50.44 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.835e-05/1.439, allocations: 35.42 kB / 0.6726 GB, free: 50.41 MB / 346.7 MB Notification: Performance of SimCode: time 2.9e-07/1.439, allocations: 0 / 0.6726 GB, free: 50.41 MB / 346.7 MB Notification: Performance of Templates: time 0.01273/1.452, allocations: 6.588 MB / 0.679 GB, free: 43.82 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)