Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") translateModel(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001633/0.001634, allocations: 181.8 kB / 12.74 MB, free: 2.582 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.917/1.917, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.00164/0.00164, allocations: 112.8 kB / 252.6 MB, free: 4.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2834/0.2834, allocations: 39.94 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.345e-05/4.347e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1559, allocations: 54.85 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.565/7.721, allocations: 2.652 GB / 3.097 GB, free: 14.96 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/7.721, allocations: 83.06 kB / 3.097 GB, free: 14.92 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.9/10.62, allocations: 0.7406 GB / 3.838 GB, free: 36.24 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.463e-06/10.62, allocations: 3.938 kB / 3.838 GB, free: 36.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000112/10.62, allocations: 36.92 kB / 3.838 GB, free: 36.22 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.01009/10.63, allocations: 2.749 MB / 3.84 GB, free: 34.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/10.63, allocations: 16.03 kB / 3.84 GB, free: 34.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/10.63, allocations: 476.8 kB / 3.841 GB, free: 34.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002574/10.64, allocations: 1.126 MB / 3.842 GB, free: 33.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/10.64, allocations: 150.9 kB / 3.842 GB, free: 33.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/10.64, allocations: 99.53 kB / 3.842 GB, free: 33.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003383/10.64, allocations: 1.884 MB / 3.844 GB, free: 32.53 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/10.64, allocations: 4 kB / 3.844 GB, free: 32.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/10.64, allocations: 43.67 kB / 3.844 GB, free: 32.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.322e-05/10.64, allocations: 83.45 kB / 3.844 GB, free: 32.42 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003103/10.64, allocations: 1.706 MB / 3.846 GB, free: 30.93 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/10.65, allocations: 8.539 MB / 3.854 GB, free: 22.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/10.66, allocations: 1.38 MB / 3.855 GB, free: 21.63 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005807/10.66, allocations: 471.9 kB / 3.856 GB, free: 21.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5085/11.17, allocations: 63.48 MB / 3.918 GB, free: 42.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002797/11.17, allocations: 0.9041 MB / 3.919 GB, free: 42.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=82): time 3.527e-06/11.17, allocations: 1.031 kB / 3.919 GB, free: 42.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=86): time 0.009674/11.18, allocations: 3.738 MB / 3.922 GB, free: 41.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002167/11.18, allocations: 406.9 kB / 3.923 GB, free: 41.26 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/11.18, allocations: 0.9252 MB / 3.924 GB, free: 41.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001895/11.18, allocations: 46.95 kB / 3.924 GB, free: 41.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000442/11.18, allocations: 0.5623 MB / 3.924 GB, free: 40.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/11.18, allocations: 301.4 kB / 3.925 GB, free: 40.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.226e-05/11.18, allocations: 25.16 kB / 3.925 GB, free: 40.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001414/11.18, allocations: 357.7 kB / 3.925 GB, free: 40.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008044/11.18, allocations: 479.9 kB / 3.925 GB, free: 40.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/11.18, allocations: 0.9392 MB / 3.926 GB, free: 39.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/11.19, allocations: 0.6343 MB / 3.927 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.878e-06/11.19, allocations: 7.031 kB / 3.927 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003396/11.19, allocations: 1.775 MB / 3.929 GB, free: 39.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001376/11.19, allocations: 5.4 MB / 3.934 GB, free: 34.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/11.19, allocations: 10.72 kB / 3.934 GB, free: 34.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005273/11.2, allocations: 1.061 MB / 3.935 GB, free: 34.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/11.2, allocations: 248.5 kB / 3.935 GB, free: 34.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/11.2, allocations: 1.447 MB / 3.937 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/11.2, allocations: 128.1 kB / 3.937 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/11.2, allocations: 68.84 kB / 3.937 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/11.2, allocations: 2.812 kB / 3.937 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002803/11.2, allocations: 1.528 MB / 3.938 GB, free: 33.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/11.2, allocations: 12.5 kB / 3.938 GB, free: 33.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/11.2, allocations: 343.2 kB / 3.939 GB, free: 33.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000915/11.21, allocations: 282.1 kB / 3.939 GB, free: 33.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009434/11.21, allocations: 1.013 MB / 3.94 GB, free: 32.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/11.21, allocations: 135.3 kB / 3.94 GB, free: 32.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/11.21, allocations: 66.69 kB / 3.94 GB, free: 32.98 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = false ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 19 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.staticPipe2.flowModel.states[2].phase,pipe.staticPipe2.flowModel.states[1].phase,pipe.staticPipe1.flowModel.states[2].phase,pipe.staticPipe1.flowModel.states[1].phase,pipe.volume.regularFlow[1],pipe.volume.regularFlow[2],pipe.volume.inFlow[2],pipe.volume.inFlow[1],pipe.volume.heatTransfer.states[1].phase,sink.state.phase,sink.medium.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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 35} Notification: Performance of prepare postOptimizeDAE: time 0.0004865/11.21, allocations: 202.4 kB / 3.94 GB, free: 32.87 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002701/11.21, allocations: 120.8 kB / 3.94 GB, free: 32.81 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004448/11.21, allocations: 3.979 MB / 3.944 GB, free: 32.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.794e-05/11.21, allocations: 45.8 kB / 3.944 GB, free: 32.45 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/11.21, allocations: 3.906 kB / 3.944 GB, free: 32.45 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/11.21, allocations: 3.891 kB / 3.944 GB, free: 32.45 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006062/11.22, allocations: 5.482 MB / 3.95 GB, free: 31.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/11.22, allocations: 0 / 3.95 GB, free: 31.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006373/11.22, allocations: 172 kB / 3.95 GB, free: 31.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005682/11.23, allocations: 1.776 MB / 3.952 GB, free: 31.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001776/11.23, allocations: 30.14 kB / 3.952 GB, free: 31.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/11.23, allocations: 2.087 MB / 3.954 GB, free: 30.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/11.23, allocations: 10.05 kB / 3.954 GB, free: 30.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004163/11.23, allocations: 3.803 MB / 3.957 GB, free: 30.17 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/11.23, allocations: 0.5335 MB / 3.958 GB, free: 29.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/11.23, allocations: 27.83 kB / 3.958 GB, free: 29.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008935/11.23, allocations: 96.7 kB / 3.958 GB, free: 29.94 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/11.23, allocations: 77.89 kB / 3.958 GB, free: 29.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.559e-05/11.23, allocations: 34.19 kB / 3.958 GB, free: 29.94 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001304/11.24, allocations: 1.04 MB / 3.959 GB, free: 29.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.7e-07/11.24, allocations: 1.969 kB / 3.959 GB, free: 29.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008427/11.24, allocations: 2.056 MB / 3.961 GB, free: 29.72 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (pipe.volume.medium.p,pipe.volume.medium.h) * Number of discrete variables: 25 ($cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse19.phase,$cse19.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$whenCondition2,$whenCondition1,pipe.volume.heatTransfer.states[1].phase,m_flow_initial,$cse3.phase,$cse3.region,source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 1 * 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: 0 * Non-linear torn systems: 2 {1 1,1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0119/11.26, allocations: 2.358 MB / 3.963 GB, free: 29.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004521/11.26, allocations: 2.298 MB / 3.966 GB, free: 29.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.118e-06/11.26, allocations: 6.938 kB / 3.966 GB, free: 29.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/11.26, allocations: 0.9791 MB / 3.967 GB, free: 29.42 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00335/11.26, allocations: 0.6298 MB / 3.967 GB, free: 29.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004113/11.27, allocations: 2.852 MB / 3.97 GB, free: 28.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007405/11.27, allocations: 1.49 MB / 3.972 GB, free: 28.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002232/11.27, allocations: 1.04 MB / 3.973 GB, free: 28.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/11.27, allocations: 89.56 kB / 3.973 GB, free: 28.01 MB / 0.5105 GB Notification: Performance of SimCode: time 1.072e-06/11.27, allocations: 0 / 3.973 GB, free: 28.01 MB / 0.5105 GB Notification: Performance of Templates: time 0.08788/11.36, allocations: 68.63 MB / 4.04 GB, free: 22.34 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe 2>&1)