Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/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="mat",numberOfIntervals=5000,variableFilter="time|pipe.volume.medium.h|pipe.volume.medium.p|m_flow_initial",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002696/0.002701, allocations: 360 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.985/3.985, allocations: 388.9 MB / 405.6 MB, free: 9.672 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.005995/0.005994, allocations: 231.5 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5555/0.5555, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007588/0.000759, allocations: 15.98 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1353, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.566/8.701, allocations: 2.652 GB / 3.333 GB, free: 103.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/8.702, allocations: 85.53 kB / 3.333 GB, free: 103.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.548/12.25, allocations: 0.6917 GB / 4.024 GB, free: 35.6 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.675e-06/12.25, allocations: 0 / 4.024 GB, free: 35.6 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0001745/12.25, allocations: 28.25 kB / 4.024 GB, free: 35.59 MB / 0.4949 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.01414/12.26, allocations: 2.912 MB / 4.027 GB, free: 33.93 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/12.26, allocations: 11.16 kB / 4.027 GB, free: 33.93 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004978/12.27, allocations: 478.9 kB / 4.028 GB, free: 33.81 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04258/12.31, allocations: 15.32 MB / 4.043 GB, free: 28.55 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002663/12.31, allocations: 153.4 kB / 4.043 GB, free: 28.39 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005089/12.31, allocations: 95.83 kB / 4.043 GB, free: 28.3 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006689/12.32, allocations: 1.894 MB / 4.045 GB, free: 26.29 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.253e-05/12.32, allocations: 7.938 kB / 4.045 GB, free: 26.29 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002494/12.32, allocations: 39.98 kB / 4.045 GB, free: 26.25 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001882/12.32, allocations: 81.95 kB / 4.045 GB, free: 26.16 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008511/12.33, allocations: 1.776 MB / 4.046 GB, free: 24.39 MB / 0.4949 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.02311/12.35, allocations: 8.528 MB / 4.055 GB, free: 15.26 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008331/12.36, allocations: 1.397 MB / 4.056 GB, free: 13.79 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00263/12.36, allocations: 0.5176 MB / 4.057 GB, free: 13.26 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7347/13.1, allocations: 63.26 MB / 4.118 GB, free: 33.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003818/13.1, allocations: 0.9009 MB / 4.119 GB, free: 33.44 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=82): time 4.538e-06/13.1, allocations: 0 / 4.119 GB, free: 33.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=86): time 0.03155/13.13, allocations: 4.637 MB / 4.124 GB, free: 32.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00017/13.13, allocations: 410.2 kB / 4.124 GB, free: 31.92 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003767/13.14, allocations: 1.045 MB / 4.125 GB, free: 31.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000388/13.14, allocations: 45.73 kB / 4.125 GB, free: 31.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/13.14, allocations: 0.564 MB / 4.126 GB, free: 31.51 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008307/13.14, allocations: 303.4 kB / 4.126 GB, free: 31.37 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002534/13.14, allocations: 26.47 kB / 4.126 GB, free: 31.37 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002017/13.14, allocations: 357.1 kB / 4.127 GB, free: 31.06 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003053/13.14, allocations: 0.5321 MB / 4.127 GB, free: 31.06 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002796/13.15, allocations: 1.018 MB / 4.128 GB, free: 30.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/13.15, allocations: 0.6931 MB / 4.129 GB, free: 30.51 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.35e-05/13.15, allocations: 3.969 kB / 4.129 GB, free: 30.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.006706/13.16, allocations: 1.94 MB / 4.131 GB, free: 30.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003061/13.16, allocations: 0.5008 MB / 4.131 GB, free: 29.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.547e-05/13.16, allocations: 13.16 kB / 4.131 GB, free: 29.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01021/13.17, allocations: 1.103 MB / 4.132 GB, free: 29.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/13.17, allocations: 245 kB / 4.132 GB, free: 29.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003493/13.17, allocations: 1.497 MB / 4.134 GB, free: 29.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/13.17, allocations: 131.1 kB / 4.134 GB, free: 29.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002459/13.17, allocations: 66.5 kB / 4.134 GB, free: 29.26 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/13.17, allocations: 6.531 kB / 4.134 GB, free: 29.26 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005871/13.18, allocations: 1.682 MB / 4.136 GB, free: 29.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-05/13.18, allocations: 15.28 kB / 4.136 GB, free: 29.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002628/13.18, allocations: 385.9 kB / 4.136 GB, free: 29.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/13.18, allocations: 274.9 kB / 4.136 GB, free: 29.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/13.19, allocations: 1.067 MB / 4.137 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/13.19, allocations: 127 kB / 4.138 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002904/13.19, allocations: 69.53 kB / 4.138 GB, free: 28.68 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.001244/13.19, allocations: 476 kB / 4.138 GB, free: 28.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004536/13.19, allocations: 123.5 kB / 4.138 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008642/13.2, allocations: 4.056 MB / 4.142 GB, free: 28.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.398e-05/13.2, allocations: 49.73 kB / 4.142 GB, free: 28.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/13.2, allocations: 3.75 kB / 4.142 GB, free: 28.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.364e-05/13.2, allocations: 8.484 kB / 4.142 GB, free: 28.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/13.21, allocations: 5.537 MB / 4.148 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.07e-05/13.21, allocations: 0 / 4.148 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/13.21, allocations: 174.5 kB / 4.148 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01059/13.22, allocations: 1.54 MB / 4.149 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002603/13.23, allocations: 29.7 kB / 4.149 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/13.23, allocations: 2.097 MB / 4.151 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/13.23, allocations: 3.844 kB / 4.151 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007712/13.24, allocations: 3.888 MB / 4.155 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/13.24, allocations: 0.5252 MB / 4.156 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005219/13.24, allocations: 24.88 kB / 4.156 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001884/13.24, allocations: 95.75 kB / 4.156 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/13.24, allocations: 80.19 kB / 4.156 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/13.24, allocations: 37.77 kB / 4.156 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002208/13.24, allocations: 1.046 MB / 4.157 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.62e-07/13.24, allocations: 0 / 4.157 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009821/13.25, allocations: 2.003 MB / 4.159 GB, free: 25.54 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.01341/13.27, allocations: 2.272 MB / 4.161 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008192/13.27, allocations: 2.468 MB / 4.163 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/13.27, allocations: 1.875 kB / 4.163 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002444/13.28, allocations: 1.048 MB / 4.165 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0062/13.28, allocations: 0.6525 MB / 4.165 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009078/13.29, allocations: 4.428 MB / 4.169 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/13.29, allocations: 1.479 MB / 4.171 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003569/13.3, allocations: 0.9834 MB / 4.172 GB, free: 22.56 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005287/13.3, allocations: 105.9 kB / 4.172 GB, free: 22.55 MB / 0.5105 GB Notification: Performance of SimCode: time 8.62e-07/13.3, allocations: 0 / 4.172 GB, free: 22.55 MB / 0.5105 GB Notification: Performance of Templates: time 0.1419/13.44, allocations: 66.62 MB / 4.237 GB, free: 12.23 MB / 0.5105 GB