Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001559/0.001559, allocations: 171.3 kB / 7.638 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.62/1.62, allocations: 170.6 MB / 178.7 MB, free: 15.65 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.001714/0.001715, allocations: 111.5 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.728e-05/1.729e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08697/0.087, allocations: 38.77 MB / 301 MB, free: 3.629 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5915/0.6786, allocations: 179.6 MB / 480.6 MB, free: 130 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.6789, allocations: 84.8 kB / 480.7 MB, free: 130 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6194/1.298, allocations: 204.8 MB / 0.6694 GB, free: 62.33 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/1.298, allocations: 0 / 0.6694 GB, free: 62.33 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.723e-05/1.298, allocations: 12 kB / 0.6694 GB, free: 62.32 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.002298/1.301, allocations: 0.9631 MB / 0.6703 GB, free: 61.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/1.301, allocations: 8.031 kB / 0.6703 GB, free: 61.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003926/1.301, allocations: 43.61 kB / 0.6704 GB, free: 61.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/1.302, allocations: 297.3 kB / 0.6707 GB, free: 60.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/1.302, allocations: 8 kB / 0.6707 GB, free: 60.94 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/1.302, allocations: 16 kB / 0.6707 GB, free: 60.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003045/1.302, allocations: 161 kB / 0.6708 GB, free: 60.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/1.302, allocations: 291.8 kB / 0.6711 GB, free: 60.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/1.302, allocations: 0 / 0.6711 GB, free: 60.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/1.303, allocations: 4 kB / 0.6711 GB, free: 60.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/1.303, allocations: 8 kB / 0.6711 GB, free: 60.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/1.304, allocations: 2.008 MB / 0.6731 GB, free: 58.24 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/1.305, allocations: 158.6 kB / 0.6732 GB, free: 58.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.822e-05/1.305, allocations: 81.39 kB / 0.6733 GB, free: 57.99 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/1.305, allocations: 255.1 kB / 0.6736 GB, free: 57.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/1.305, allocations: 38.72 kB / 0.6736 GB, free: 57.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.463e-06/1.305, allocations: 0 / 0.6736 GB, free: 57.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.002309/1.307, allocations: 0.804 MB / 0.6744 GB, free: 56.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/1.307, allocations: 55.41 kB / 0.6744 GB, free: 56.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/1.307, allocations: 211.5 kB / 0.6746 GB, free: 56.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/1.307, allocations: 25.7 kB / 0.6747 GB, free: 56.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.173e-05/1.308, allocations: 188.3 kB / 0.6748 GB, free: 56.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.203e-05/1.308, allocations: 94.56 kB / 0.6749 GB, free: 56.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/1.308, allocations: 0 / 0.6749 GB, free: 56.2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.515e-05/1.308, allocations: 334.8 kB / 0.6752 GB, free: 55.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/1.308, allocations: 76.73 kB / 0.6753 GB, free: 55.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/1.308, allocations: 154.3 kB / 0.6755 GB, free: 55.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004899/1.308, allocations: 132.8 kB / 0.6756 GB, free: 55.47 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.308, allocations: 2.625 kB / 0.6756 GB, free: 55.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007751/1.309, allocations: 365.5 kB / 0.6759 GB, free: 55.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/1.309, allocations: 11.95 kB / 0.676 GB, free: 55.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.309, allocations: 4.312 kB / 0.676 GB, free: 55.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002981/1.31, allocations: 88.81 kB / 0.676 GB, free: 55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/1.31, allocations: 67.84 kB / 0.6761 GB, free: 54.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005823/1.31, allocations: 0.6732 MB / 0.6768 GB, free: 54.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/1.311, allocations: 20.03 kB / 0.6768 GB, free: 54.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/1.311, allocations: 12 kB / 0.6768 GB, free: 54.2 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.0001509/1.311, allocations: 129.3 kB / 0.6769 GB, free: 54.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.285e-05/1.311, allocations: 31.72 kB / 0.6769 GB, free: 54.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008066/1.312, allocations: 392.5 kB / 0.6773 GB, free: 53.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.312, allocations: 0 / 0.6773 GB, free: 53.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/1.312, allocations: 0 / 0.6773 GB, free: 53.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006027/1.312, allocations: 0.5591 MB / 0.6779 GB, free: 52.99 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/1.313, allocations: 0.6956 MB / 0.6785 GB, free: 52.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.313, allocations: 3.609 kB / 0.6785 GB, free: 52.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/1.314, allocations: 39.92 kB / 0.6786 GB, free: 52.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002193/1.314, allocations: 68.88 kB / 0.6787 GB, free: 52.13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/1.314, allocations: 11.98 kB / 0.6787 GB, free: 52.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004501/1.314, allocations: 0.6421 MB / 0.6793 GB, free: 51.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.314, allocations: 4.031 kB / 0.6793 GB, free: 51.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007472/1.315, allocations: 497.3 kB / 0.6798 GB, free: 50.92 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-05/1.315, allocations: 108.7 kB / 0.6799 GB, free: 50.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/1.315, allocations: 4 kB / 0.6799 GB, free: 50.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/1.315, allocations: 12.05 kB / 0.6799 GB, free: 50.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/1.315, allocations: 15.98 kB / 0.6799 GB, free: 50.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/1.316, allocations: 15.98 kB / 0.6799 GB, free: 50.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001201/1.316, allocations: 164.5 kB / 0.6801 GB, free: 50.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.316, allocations: 0 / 0.6801 GB, free: 50.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000677/1.316, allocations: 147.9 kB / 0.6802 GB, free: 50.45 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.0004473/1.317, allocations: 230 kB / 0.6804 GB, free: 50.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004756/1.317, allocations: 228.4 kB / 0.6807 GB, free: 50 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.317, allocations: 3.938 kB / 0.6807 GB, free: 50 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002073/1.318, allocations: 111.8 kB / 0.6808 GB, free: 49.89 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000724/1.318, allocations: 132.4 kB / 0.6809 GB, free: 49.76 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007507/1.319, allocations: 419.8 kB / 0.6813 GB, free: 49.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/1.319, allocations: 0.7745 MB / 0.682 GB, free: 48.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002937/1.32, allocations: 62.91 kB / 0.6821 GB, free: 48.46 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/1.32, allocations: 23.44 kB / 0.6821 GB, free: 48.44 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/1.32, allocations: 0 / 0.6821 GB, free: 48.44 MB / 346.7 MB Notification: Performance of Templates: time 0.01006/1.33, allocations: 6.585 MB / 0.6886 GB, free: 41.86 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1)