Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") translateModel(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005659/0.005659, allocations: 165.7 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.117/1.117, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001702/0.001701, allocations: 106.6 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2594/0.2594, allocations: 38.04 MB / 303.7 MB, free: 42.7 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003382, allocations: 12 kB / 362.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08717/0.08752, allocations: 48.7 MB / 411.6 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.266/5.354, allocations: 2.542 GB / 2.944 GB, free: 58.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/5.354, allocations: 79.5 kB / 2.944 GB, free: 58.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.75/8.104, allocations: 0.7248 GB / 3.669 GB, free: 468 kB / 458.7 MB Notification: Performance of FrontEnd: time 3.066e-06/8.104, allocations: 0 / 3.669 GB, free: 468 kB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001323/8.104, allocations: 35.98 kB / 3.669 GB, free: 432 kB / 458.7 MB 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.3227/8.427, allocations: 2.806 MB / 3.671 GB, free: 35.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/8.427, allocations: 9.281 kB / 3.671 GB, free: 35.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003889/8.431, allocations: 460 kB / 3.672 GB, free: 35.12 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003136/8.434, allocations: 1.141 MB / 3.673 GB, free: 34.83 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/8.434, allocations: 146.2 kB / 3.673 GB, free: 34.76 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/8.434, allocations: 94.44 kB / 3.673 GB, free: 34.76 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003965/8.438, allocations: 1.887 MB / 3.675 GB, free: 34.42 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/8.438, allocations: 6.031 kB / 3.675 GB, free: 34.42 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/8.439, allocations: 50.44 kB / 3.675 GB, free: 34.42 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001426/8.439, allocations: 80.2 kB / 3.675 GB, free: 34.41 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003532/8.442, allocations: 1.779 MB / 3.677 GB, free: 34.41 MB / 458.7 MB 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.01034/8.453, allocations: 8.531 MB / 3.685 GB, free: 29.53 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003079/8.456, allocations: 1.405 MB / 3.687 GB, free: 29.22 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1091/8.565, allocations: 63.19 MB / 3.748 GB, free: 22.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002397/8.567, allocations: 0.8883 MB / 3.749 GB, free: 22.08 MB / 490.7 MB Notification: Performance of pre-optimization done (n=82): time 3.156e-06/8.567, allocations: 0 / 3.749 GB, free: 22.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=86): time 0.01201/8.579, allocations: 4.631 MB / 3.754 GB, free: 20.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002155/8.58, allocations: 403.9 kB / 3.754 GB, free: 20.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/8.581, allocations: 0.9314 MB / 3.755 GB, free: 20.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/8.581, allocations: 41.42 kB / 3.755 GB, free: 20.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004621/8.582, allocations: 0.5639 MB / 3.756 GB, free: 19.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/8.582, allocations: 297.5 kB / 3.756 GB, free: 19.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.141e-05/8.582, allocations: 26.22 kB / 3.756 GB, free: 19.74 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/8.582, allocations: 359.9 kB / 3.756 GB, free: 19.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/8.583, allocations: 0.5401 MB / 3.757 GB, free: 19.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/8.584, allocations: 1.017 MB / 3.758 GB, free: 18.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/8.586, allocations: 0.6998 MB / 3.758 GB, free: 18.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/8.586, allocations: 3.656 kB / 3.758 GB, free: 18.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003353/8.589, allocations: 1.926 MB / 3.76 GB, free: 18.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001973/8.591, allocations: 5.406 MB / 3.766 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.235e-05/8.591, allocations: 13.28 kB / 3.766 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005648/8.597, allocations: 1.115 MB / 3.767 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009073/8.598, allocations: 243.9 kB / 3.767 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/8.6, allocations: 1.496 MB / 3.768 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/8.601, allocations: 128.7 kB / 3.769 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/8.601, allocations: 76.92 kB / 3.769 GB, free: 12.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/8.601, allocations: 3.969 kB / 3.769 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003146/8.605, allocations: 1.677 MB / 3.77 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-05/8.605, allocations: 16.81 kB / 3.77 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/8.606, allocations: 388.3 kB / 3.771 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009503/8.607, allocations: 275.7 kB / 3.771 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/8.608, allocations: 1.063 MB / 3.772 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/8.61, allocations: 130.5 kB / 3.772 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/8.61, allocations: 63.67 kB / 3.772 GB, free: 11.78 MB / 490.7 MB 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.000933/8.611, allocations: 471.8 kB / 3.773 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/8.611, allocations: 131.5 kB / 3.773 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005106/8.616, allocations: 4.063 MB / 3.777 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.794e-05/8.616, allocations: 41.8 kB / 3.777 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/8.616, allocations: 2.594 kB / 3.777 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/8.616, allocations: 9.875 kB / 3.777 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007225/8.623, allocations: 5.542 MB / 3.782 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/8.624, allocations: 1.969 kB / 3.782 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000675/8.624, allocations: 176.3 kB / 3.782 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006613/8.631, allocations: 1.541 MB / 3.784 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003698/8.631, allocations: 30.28 kB / 3.784 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003891/8.635, allocations: 2.085 MB / 3.786 GB, free: 25.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/8.635, allocations: 7.312 kB / 3.786 GB, free: 25.28 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0065/8.642, allocations: 3.986 MB / 3.79 GB, free: 24.68 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001469/8.643, allocations: 0.5344 MB / 3.79 GB, free: 24.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005804/8.644, allocations: 25.62 kB / 3.79 GB, free: 24.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/8.645, allocations: 90.14 kB / 3.79 GB, free: 24.42 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/8.646, allocations: 90.17 kB / 3.791 GB, free: 24.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.745e-05/8.646, allocations: 35.23 kB / 3.791 GB, free: 24.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001962/8.648, allocations: 1.057 MB / 3.792 GB, free: 24.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.9e-07/8.648, allocations: 0 / 3.792 GB, free: 24.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01039/8.658, allocations: 2.045 MB / 3.794 GB, free: 24 MB / 0.4948 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.01499/8.673, allocations: 2.352 MB / 3.796 GB, free: 23.44 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006127/8.679, allocations: 2.465 MB / 3.798 GB, free: 23.37 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/8.679, allocations: 0 / 3.798 GB, free: 23.37 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001852/8.681, allocations: 1.04 MB / 3.799 GB, free: 23.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003708/8.685, allocations: 0.6356 MB / 3.8 GB, free: 23.31 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006832/8.692, allocations: 4.417 MB / 3.804 GB, free: 21.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/8.693, allocations: 1.482 MB / 3.806 GB, free: 20.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002514/8.696, allocations: 0.9789 MB / 3.807 GB, free: 20.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/8.696, allocations: 104.5 kB / 3.807 GB, free: 20.55 MB / 0.4948 GB Notification: Performance of SimCode: time 1.252e-06/8.696, allocations: 4 kB / 3.807 GB, free: 20.54 MB / 0.4948 GB Notification: Performance of Templates: time 0.347/9.043, allocations: 64.41 MB / 3.87 GB, free: 80.13 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe 2>&1)