Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.volume.medium.h|pipe.volume.medium.p|m_flow_initial",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") translateModel(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.volume.medium.h|pipe.volume.medium.p|m_flow_initial",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002148/0.002148, allocations: 186.7 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.4 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 94.05 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4996/0.4996, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004796, allocations: 16 kB / 431.4 MB, free: 6.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1224, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.501/8.623, allocations: 2.822 GB / 3.301 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/8.623, allocations: 86.52 kB / 3.301 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.933/12.56, allocations: 0.7464 GB / 4.047 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.984e-06/12.56, allocations: 0 / 4.047 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001437/12.56, allocations: 28.97 kB / 4.047 GB, free: 27.54 MB / 0.5105 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.01355/12.57, allocations: 2.929 MB / 4.05 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/12.57, allocations: 10.53 kB / 4.05 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00495/12.58, allocations: 473.1 kB / 4.05 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004046/12.58, allocations: 1.139 MB / 4.051 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/12.58, allocations: 142.5 kB / 4.052 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003795/12.58, allocations: 97.62 kB / 4.052 GB, free: 25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006204/12.59, allocations: 1.891 MB / 4.054 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.431e-05/12.59, allocations: 7.188 kB / 4.054 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002209/12.59, allocations: 44.17 kB / 4.054 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001542/12.59, allocations: 78.41 kB / 4.054 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006712/12.59, allocations: 1.775 MB / 4.055 GB, free: 23.51 MB / 0.5105 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.01778/12.61, allocations: 8.539 MB / 4.064 GB, free: 17.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005122/12.62, allocations: 1.407 MB / 4.065 GB, free: 16.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6266/13.24, allocations: 63.28 MB / 4.127 GB, free: 58.79 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003834/13.25, allocations: 0.8856 MB / 4.128 GB, free: 58.66 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=82): time 4.358e-06/13.25, allocations: 0 / 4.128 GB, free: 58.66 MB / 0.5417 GB Notification: Performance of matching and sorting (n=86): time 0.01895/13.27, allocations: 4.621 MB / 4.132 GB, free: 57.61 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/13.27, allocations: 408.4 kB / 4.133 GB, free: 57.13 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/13.27, allocations: 0.9292 MB / 4.134 GB, free: 56.98 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002161/13.27, allocations: 45.8 kB / 4.134 GB, free: 56.95 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004815/13.27, allocations: 0.5659 MB / 4.134 GB, free: 56.67 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003618/13.27, allocations: 302.5 kB / 4.134 GB, free: 56.52 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/13.27, allocations: 28.56 kB / 4.135 GB, free: 56.52 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001169/13.27, allocations: 359.1 kB / 4.135 GB, free: 56.21 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/13.27, allocations: 0.5399 MB / 4.135 GB, free: 56.21 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/13.27, allocations: 1.006 MB / 4.136 GB, free: 55.66 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002073/13.28, allocations: 0.6984 MB / 4.137 GB, free: 55.65 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/13.28, allocations: 5.969 kB / 4.137 GB, free: 55.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.005532/13.28, allocations: 1.861 MB / 4.139 GB, free: 55.57 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001165/13.28, allocations: 5.415 MB / 4.144 GB, free: 49.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.792e-05/13.28, allocations: 12.06 kB / 4.144 GB, free: 49.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01054/13.29, allocations: 1.132 MB / 4.145 GB, free: 49.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/13.29, allocations: 244.5 kB / 4.146 GB, free: 49.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00336/13.3, allocations: 1.499 MB / 4.147 GB, free: 49.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/13.3, allocations: 134.8 kB / 4.147 GB, free: 49.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/13.3, allocations: 69.55 kB / 4.147 GB, free: 49.39 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/13.3, allocations: 2.625 kB / 4.147 GB, free: 49.39 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005409/13.31, allocations: 1.68 MB / 4.149 GB, free: 49.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/13.31, allocations: 16.22 kB / 4.149 GB, free: 49.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002399/13.31, allocations: 365.1 kB / 4.149 GB, free: 49.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/13.31, allocations: 285.5 kB / 4.149 GB, free: 49.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/13.31, allocations: 1.062 MB / 4.15 GB, free: 48.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/13.31, allocations: 125.6 kB / 4.151 GB, free: 48.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/13.31, allocations: 66.39 kB / 4.151 GB, free: 48.82 MB / 0.5417 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.001139/13.32, allocations: 472.3 kB / 4.151 GB, free: 48.63 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003757/13.32, allocations: 130.2 kB / 4.151 GB, free: 48.57 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007854/13.32, allocations: 4.06 MB / 4.155 GB, free: 48.22 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.812e-05/13.32, allocations: 42.72 kB / 4.155 GB, free: 48.22 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/13.32, allocations: 2.531 kB / 4.155 GB, free: 48.22 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.926e-05/13.32, allocations: 5.344 kB / 4.155 GB, free: 48.22 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/13.33, allocations: 5.551 MB / 4.161 GB, free: 47.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/13.33, allocations: 0 / 4.161 GB, free: 47.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/13.34, allocations: 173.3 kB / 4.161 GB, free: 47.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01092/13.35, allocations: 1.558 MB / 4.162 GB, free: 47.59 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002215/13.35, allocations: 26.45 kB / 4.162 GB, free: 47.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/13.35, allocations: 2.098 MB / 4.164 GB, free: 46.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/13.35, allocations: 11.69 kB / 4.164 GB, free: 46.52 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007681/13.36, allocations: 3.986 MB / 4.168 GB, free: 45.94 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/13.36, allocations: 0.5256 MB / 4.169 GB, free: 45.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003401/13.36, allocations: 27.22 kB / 4.169 GB, free: 45.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/13.36, allocations: 96.53 kB / 4.169 GB, free: 45.73 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/13.36, allocations: 76.16 kB / 4.169 GB, free: 45.72 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/13.36, allocations: 39.44 kB / 4.169 GB, free: 45.72 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002309/13.36, allocations: 1.055 MB / 4.17 GB, free: 45.61 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.71e-07/13.36, allocations: 0 / 4.17 GB, free: 45.61 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01003/13.37, allocations: 2.061 MB / 4.172 GB, free: 45.52 MB / 0.5417 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.01342/13.39, allocations: 2.358 MB / 4.174 GB, free: 45.27 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008118/13.39, allocations: 2.461 MB / 4.177 GB, free: 45.23 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/13.39, allocations: 2.297 kB / 4.177 GB, free: 45.23 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002682/13.4, allocations: 1.05 MB / 4.178 GB, free: 45.22 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005794/13.4, allocations: 0.6332 MB / 4.178 GB, free: 45.21 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009282/13.41, allocations: 4.487 MB / 4.183 GB, free: 43.33 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/13.41, allocations: 1.474 MB / 4.184 GB, free: 42.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007285/13.41, allocations: 111 kB / 4.184 GB, free: 42.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.322e-06/13.41, allocations: 0 / 4.184 GB, free: 42.6 MB / 0.5417 GB Notification: Performance of Templates: time 0.1173/13.53, allocations: 59.32 MB / 4.242 GB, free: 38.64 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe 2>&1)