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.005121/0.005122, allocations: 176.6 kB / 15.12 MB, free: 5.973 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.243/1.243, allocations: 194.5 MB / 210.3 MB, free: 8.59 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.001674/0.001674, allocations: 120.6 kB / 255.6 MB, free: 11.2 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1694/0.1694, allocations: 40.02 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.0004091, allocations: 14.44 kB / 406.1 MB, free: 52.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1022, allocations: 54.87 MB / 461 MB, free: 3.422 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.96/6.062, allocations: 2.652 GB / 3.103 GB, free: 12.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/6.062, allocations: 79.59 kB / 3.103 GB, free: 12.77 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.988/9.05, allocations: 0.7425 GB / 3.845 GB, free: 34.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.194e-06/9.051, allocations: 0 / 3.845 GB, free: 34.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002342/9.051, allocations: 42.3 kB / 3.845 GB, free: 34.89 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.01612/9.067, allocations: 2.896 MB / 3.848 GB, free: 32.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/9.067, allocations: 12.03 kB / 3.848 GB, free: 32.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003807/9.071, allocations: 480.7 kB / 3.849 GB, free: 31.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003567/9.074, allocations: 1.139 MB / 3.85 GB, free: 30.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002281/9.075, allocations: 150.8 kB / 3.85 GB, free: 30.76 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005278/9.075, allocations: 91.44 kB / 3.85 GB, free: 30.67 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004808/9.08, allocations: 1.887 MB / 3.852 GB, free: 29.04 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/9.08, allocations: 3.938 kB / 3.852 GB, free: 29.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/9.08, allocations: 43.36 kB / 3.852 GB, free: 29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/9.08, allocations: 78.05 kB / 3.852 GB, free: 28.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003817/9.084, allocations: 1.778 MB / 3.854 GB, free: 27.45 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01053/9.095, allocations: 8.544 MB / 3.862 GB, free: 19.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002895/9.098, allocations: 1.397 MB / 3.863 GB, free: 17.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4557/9.553, allocations: 63.26 MB / 3.925 GB, free: 38.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002389/9.556, allocations: 0.8869 MB / 3.926 GB, free: 38.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=82): time 2.895e-06/9.556, allocations: 0 / 3.926 GB, free: 38.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=86): time 0.01142/9.567, allocations: 4.62 MB / 3.93 GB, free: 37.58 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/9.567, allocations: 410.1 kB / 3.931 GB, free: 37.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/9.569, allocations: 0.9305 MB / 3.932 GB, free: 36.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.993e-05/9.569, allocations: 43.33 kB / 3.932 GB, free: 36.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004719/9.569, allocations: 0.5668 MB / 3.932 GB, free: 36.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000292/9.57, allocations: 306.4 kB / 3.933 GB, free: 36.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.109e-05/9.57, allocations: 22.69 kB / 3.933 GB, free: 36.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001185/9.57, allocations: 359.8 kB / 3.933 GB, free: 36.26 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009536/9.571, allocations: 0.539 MB / 3.934 GB, free: 36.26 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/9.572, allocations: 1.009 MB / 3.935 GB, free: 35.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/9.573, allocations: 0.6936 MB / 3.935 GB, free: 35.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/9.573, allocations: 6.75 kB / 3.935 GB, free: 35.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003476/9.577, allocations: 1.931 MB / 3.937 GB, free: 35.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001317/9.578, allocations: 5.406 MB / 3.942 GB, free: 29.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/9.578, allocations: 11.69 kB / 3.942 GB, free: 29.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005664/9.584, allocations: 1.109 MB / 3.943 GB, free: 29.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/9.585, allocations: 253.1 kB / 3.944 GB, free: 29.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/9.587, allocations: 1.498 MB / 3.945 GB, free: 29.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/9.588, allocations: 128.5 kB / 3.945 GB, free: 29.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/9.589, allocations: 74.08 kB / 3.945 GB, free: 29.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/9.589, allocations: 2.625 kB / 3.945 GB, free: 29.4 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003098/9.592, allocations: 1.685 MB / 3.947 GB, free: 29.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/9.592, allocations: 15.06 kB / 3.947 GB, free: 29.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/9.593, allocations: 380.3 kB / 3.947 GB, free: 29.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009558/9.594, allocations: 281.7 kB / 3.948 GB, free: 29.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/9.595, allocations: 1.056 MB / 3.949 GB, free: 28.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/9.597, allocations: 131.1 kB / 3.949 GB, free: 28.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/9.597, allocations: 64.5 kB / 3.949 GB, free: 28.82 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) 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 () * Number of clocked 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.0009071/9.598, allocations: 476.7 kB / 3.949 GB, free: 28.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/9.598, allocations: 125 kB / 3.949 GB, free: 28.56 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004766/9.603, allocations: 4.061 MB / 3.953 GB, free: 28.22 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.381e-05/9.603, allocations: 46.89 kB / 3.953 GB, free: 28.22 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/9.603, allocations: 3.125 kB / 3.953 GB, free: 28.22 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/9.603, allocations: 7.562 kB / 3.953 GB, free: 28.21 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006278/9.609, allocations: 5.546 MB / 3.959 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/9.609, allocations: 0 / 3.959 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006574/9.61, allocations: 172.2 kB / 3.959 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00592/9.616, allocations: 1.538 MB / 3.961 GB, free: 27.58 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/9.616, allocations: 31.84 kB / 3.961 GB, free: 27.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/9.617, allocations: 2.092 MB / 3.963 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/9.617, allocations: 0 / 3.963 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004535/9.622, allocations: 3.985 MB / 3.967 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/9.623, allocations: 0.5371 MB / 3.967 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/9.623, allocations: 21.94 kB / 3.967 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009164/9.624, allocations: 95.39 kB / 3.967 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/9.624, allocations: 79.7 kB / 3.967 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-05/9.624, allocations: 35.7 kB / 3.967 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001364/9.626, allocations: 1.052 MB / 3.968 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/9.626, allocations: 5.781 kB / 3.968 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008794/9.635, allocations: 2.055 MB / 3.97 GB, free: 25.52 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 () * Number of clocked 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.01088/9.646, allocations: 2.349 MB / 3.973 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005248/9.651, allocations: 2.477 MB / 3.975 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/9.651, allocations: 0.9375 kB / 3.975 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001602/9.652, allocations: 1.05 MB / 3.976 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003323/9.656, allocations: 0.6271 MB / 3.977 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005177/9.661, allocations: 4.421 MB / 3.981 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007331/9.662, allocations: 1.486 MB / 3.982 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00192/9.664, allocations: 0.9797 MB / 3.983 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/9.664, allocations: 103.5 kB / 3.983 GB, free: 22.53 MB / 0.5105 GB Notification: Performance of SimCode: time 1.022e-06/9.664, allocations: 4 kB / 3.983 GB, free: 22.53 MB / 0.5105 GB Notification: Performance of Templates: time 0.08597/9.75, allocations: 64.59 MB / 4.047 GB, free: 17.22 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)