Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|pipe.mediums.3..h|pipe.mediums.3..p|pipe.mediums.4..h|pipe.mediums.4..p|pipe.mediums.5..h|pipe.mediums.5..p|m_flow_initial",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004146/0.004145, allocations: 348.1 kB / 15.94 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.507/3.507, allocations: 341.5 MB / 358.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003556/0.003556, allocations: 222.1 kB / 397.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4601/0.4601, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.0004602, allocations: 12 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08889/0.08937, allocations: 48.7 MB / 0.6067 GB, free: 4.668 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.917/8.007, allocations: 2.553 GB / 3.16 GB, free: 91.64 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/8.007, allocations: 83.69 kB / 3.16 GB, free: 91.64 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315/10.32, allocations: 465.2 MB / 3.614 GB, free: 16.19 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.515e-06/10.32, allocations: 0 / 3.614 GB, free: 16.19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001668/10.32, allocations: 40 kB / 3.614 GB, free: 16.15 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.01581/10.34, allocations: 3.132 MB / 3.617 GB, free: 12.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/10.34, allocations: 8.031 kB / 3.617 GB, free: 12.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00752/10.35, allocations: 0.7 MB / 3.618 GB, free: 12.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3821/10.73, allocations: 15.73 MB / 3.633 GB, free: 30.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003808/10.73, allocations: 169.3 kB / 3.634 GB, free: 30.29 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001141/10.73, allocations: 176.8 kB / 3.634 GB, free: 30.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01403/10.74, allocations: 3.597 MB / 3.637 GB, free: 29.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-05/10.74, allocations: 11.03 kB / 3.637 GB, free: 29.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006269/10.74, allocations: 73.78 kB / 3.637 GB, free: 29.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002391/10.74, allocations: 174.1 kB / 3.638 GB, free: 29.83 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01421/10.76, allocations: 3.514 MB / 3.641 GB, free: 29.82 MB / 442.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.03078/10.79, allocations: 14.11 MB / 3.655 GB, free: 22.17 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009399/10.8, allocations: 2.28 MB / 3.657 GB, free: 22.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004086/10.8, allocations: 1.207 MB / 3.658 GB, free: 22 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.231/11.03, allocations: 63.35 MB / 3.72 GB, free: 15.02 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007215/11.04, allocations: 1.734 MB / 3.722 GB, free: 14.88 MB / 474.7 MB Notification: Performance of pre-optimization done (n=154): time 6.562e-06/11.04, allocations: 5.234 kB / 3.722 GB, free: 14.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=174): time 0.05225/11.09, allocations: 9.462 MB / 3.731 GB, free: 13.29 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002414/11.09, allocations: 277.9 kB / 3.731 GB, free: 12.97 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004208/11.1, allocations: 1.323 MB / 3.733 GB, free: 12.81 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007666/11.1, allocations: 59.39 kB / 3.733 GB, free: 12.78 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001436/11.1, allocations: 0.8256 MB / 3.733 GB, free: 12.44 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001381/11.1, allocations: 0.5978 MB / 3.734 GB, free: 12.07 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004734/11.1, allocations: 44.72 kB / 3.734 GB, free: 12.07 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003442/11.1, allocations: 388.5 kB / 3.734 GB, free: 11.76 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004827/11.11, allocations: 1.278 MB / 3.736 GB, free: 11.75 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005002/11.11, allocations: 1.849 MB / 3.737 GB, free: 11.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004909/11.12, allocations: 1.509 MB / 3.739 GB, free: 11.06 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.661e-05/11.12, allocations: 6.781 kB / 3.739 GB, free: 11.06 MB / 474.7 MB Notification: Performance of matching and sorting (n=270) (initialization): time 0.01448/11.13, allocations: 4.329 MB / 3.743 GB, free: 10.86 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003869/11.13, allocations: 0.5615 MB / 3.744 GB, free: 10.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.004e-05/11.13, allocations: 15.28 kB / 3.744 GB, free: 10.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02835/11.16, allocations: 3.656 MB / 3.747 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002465/11.16, allocations: 329.9 kB / 3.748 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01418/11.18, allocations: 4.054 MB / 3.752 GB, free: 25.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004344/11.18, allocations: 281.9 kB / 3.752 GB, free: 25.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007758/11.18, allocations: 103.4 kB / 3.752 GB, free: 25.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/11.18, allocations: 11.02 kB / 3.752 GB, free: 25.44 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01417/11.2, allocations: 3.934 MB / 3.756 GB, free: 25.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-05/11.2, allocations: 17.38 kB / 3.756 GB, free: 25.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01682/11.21, allocations: 2.431 MB / 3.758 GB, free: 25.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00274/11.22, allocations: 370.9 kB / 3.759 GB, free: 25.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009259/11.23, allocations: 3.334 MB / 3.762 GB, free: 24.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003938/11.23, allocations: 269.5 kB / 3.762 GB, free: 24.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006705/11.23, allocations: 107.8 kB / 3.762 GB, free: 24.64 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: 72 * Number of states: 0 () * Number of discrete variables: 17 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.state_a.phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,pipe.statesFM[6].phase,sink.state.phase,sink.medium.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 165 * 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 {14 91} Notification: Performance of prepare postOptimizeDAE: time 0.002215/11.23, allocations: 0.6975 MB / 3.763 GB, free: 24.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005793/11.23, allocations: 161.7 kB / 3.763 GB, free: 24.36 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01749/11.25, allocations: 6.854 MB / 3.77 GB, free: 23.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.632e-05/11.25, allocations: 80.56 kB / 3.77 GB, free: 23.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/11.25, allocations: 0 / 3.77 GB, free: 23.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01257/11.26, allocations: 5.504 MB / 3.775 GB, free: 22.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0225/11.29, allocations: 9.56 MB / 3.784 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.82e-05/11.29, allocations: 4.406 kB / 3.784 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003762/11.29, allocations: 442.9 kB / 3.785 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002912/11.29, allocations: 475.2 kB / 3.785 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006078/11.29, allocations: 62.5 kB / 3.785 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003127/11.3, allocations: 3.225 MB / 3.789 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/11.3, allocations: 4.031 kB / 3.789 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02026/11.32, allocations: 7.053 MB / 3.795 GB, free: 4.887 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002929/11.32, allocations: 0.7676 MB / 3.796 GB, free: 4.215 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001026/11.32, allocations: 57.67 kB / 3.796 GB, free: 4.164 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003867/11.33, allocations: 208.5 kB / 3.796 GB, free: 4.008 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009604/11.33, allocations: 186 kB / 3.797 GB, free: 3.898 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003679/11.33, allocations: 67.17 kB / 3.797 GB, free: 3.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003307/11.33, allocations: 1.234 MB / 3.798 GB, free: 2.805 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.71e-07/11.33, allocations: 0 / 3.798 GB, free: 2.805 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01349/11.34, allocations: 2.294 MB / 3.8 GB, free: 0.7148 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (pipe.mediums[1].p,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h,pipe.mediums[3].p,pipe.mediums[3].h,pipe.mediums[4].p,pipe.mediums[4].h,pipe.mediums[5].p,pipe.mediums[5].h) * Number of discrete variables: 39 ($cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.region3boundary,$cse14.region3boundary,$cse15.phase,$cse15.region,$cse16.region3boundary,$cse17.region3boundary,$cse18.phase,$cse18.region,$cse25.phase,$cse25.region,$cse31.phase,$cse31.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$whenCondition2,$whenCondition1,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,pipe.statesFM[6].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 (202): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.3886/11.73, allocations: 1.95 MB / 3.802 GB, free: 75.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01861/11.75, allocations: 5.479 MB / 3.807 GB, free: 75.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/11.75, allocations: 0 / 3.807 GB, free: 75.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006459/11.76, allocations: 2.37 MB / 3.81 GB, free: 75.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007953/11.77, allocations: 0.8165 MB / 3.811 GB, free: 75.08 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01808/11.78, allocations: 8.145 MB / 3.818 GB, free: 72.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002429/11.79, allocations: 2.048 MB / 3.82 GB, free: 71.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005756/11.79, allocations: 1.449 MB / 3.822 GB, free: 71.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/11.79, allocations: 160.3 kB / 3.822 GB, free: 71.46 MB / 490.7 MB Notification: Performance of SimCode: time 2.255e-06/11.79, allocations: 0 / 3.822 GB, free: 71.46 MB / 490.7 MB Notification: Performance of Templates: time 0.2282/12.02, allocations: 83.86 MB / 3.904 GB, free: 67.78 MB / 490.7 MB