Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13") Notification: Performance of loadModel(ModelicaTest): time 2.386/2.386, allocations: 270 MB / 282.7 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.946e-05/3.954e-05, allocations: 7.984 kB / 347 MB, free: 3.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.329, allocations: 61.87 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.75/7.079, allocations: 2.832 GB / 3.232 GB, free: 162.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/7.079, allocations: 78.81 kB / 3.232 GB, free: 162.3 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "Mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 3.854/10.93, allocations: 0.8749 GB / 4.107 GB, free: 44.64 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.168e-06/10.93, allocations: 1.688 kB / 4.107 GB, free: 44.64 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002371/10.93, allocations: 65.88 kB / 4.107 GB, free: 44.63 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.01396/10.95, allocations: 3.855 MB / 4.11 GB, free: 42.77 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/10.95, allocations: 7.812 kB / 4.11 GB, free: 42.77 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008544/10.96, allocations: 0.841 MB / 4.111 GB, free: 42.63 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006456/10.96, allocations: 2.086 MB / 4.113 GB, free: 42.18 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002499/10.96, allocations: 181.1 kB / 4.113 GB, free: 42.17 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006772/10.96, allocations: 194.9 kB / 4.114 GB, free: 42.17 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/10.97, allocations: 3.559 MB / 4.117 GB, free: 41.62 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.453e-05/10.97, allocations: 10.66 kB / 4.117 GB, free: 41.62 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003856/10.97, allocations: 88.42 kB / 4.117 GB, free: 41.62 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002415/10.97, allocations: 163.6 kB / 4.117 GB, free: 41.61 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009528/10.98, allocations: 3.136 MB / 4.12 GB, free: 41.61 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.02318/11.01, allocations: 15.2 MB / 4.135 GB, free: 32.57 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006606/11.01, allocations: 2.242 MB / 4.137 GB, free: 32.54 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00201/11.02, allocations: 1.067 MB / 4.139 GB, free: 32.52 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05582/11.07, allocations: 24.54 MB / 4.162 GB, free: 17.12 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005798/11.08, allocations: 1.663 MB / 4.164 GB, free: 17.02 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=155): time 6.554e-06/11.08, allocations: 3.469 kB / 4.164 GB, free: 17.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=171): time 0.02099/11.1, allocations: 7.031 MB / 4.171 GB, free: 16.08 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.335e-05/11.1, allocations: 276.2 kB / 4.171 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002675/11.1, allocations: 1.453 MB / 4.173 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003453/11.1, allocations: 60.42 kB / 4.173 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007/11.1, allocations: 0.9015 MB / 4.174 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006266/11.1, allocations: 0.5905 MB / 4.174 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/11.1, allocations: 38.75 kB / 4.174 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001439/11.1, allocations: 396.3 kB / 4.175 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002134/11.11, allocations: 1.048 MB / 4.176 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002518/11.11, allocations: 1.498 MB / 4.177 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002731/11.11, allocations: 1.27 MB / 4.178 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/11.11, allocations: 3.594 kB / 4.178 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.007916/11.12, allocations: 3.525 MB / 4.182 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002475/11.12, allocations: 4.661 MB / 4.186 GB, free: 24.77 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.247e-05/11.12, allocations: 12.66 kB / 4.186 GB, free: 24.77 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02145/11.14, allocations: 3.017 MB / 4.189 GB, free: 24.67 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/11.14, allocations: 310 kB / 4.19 GB, free: 24.67 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006131/11.15, allocations: 3.311 MB / 4.193 GB, free: 23.41 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003266/11.15, allocations: 253.7 kB / 4.193 GB, free: 23.22 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004552/11.15, allocations: 103.2 kB / 4.193 GB, free: 23.13 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/11.15, allocations: 4 kB / 4.193 GB, free: 23.12 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006972/11.16, allocations: 3.241 MB / 4.196 GB, free: 20.34 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-05/11.16, allocations: 15.38 kB / 4.196 GB, free: 20.33 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007113/11.17, allocations: 1.576 MB / 4.198 GB, free: 19.09 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/11.17, allocations: 354.6 kB / 4.198 GB, free: 18.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004019/11.17, allocations: 2.561 MB / 4.201 GB, free: 16.54 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002295/11.18, allocations: 267.5 kB / 4.201 GB, free: 16.34 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003197/11.18, allocations: 94.38 kB / 4.201 GB, free: 16.25 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 23 (pipe3.state_a.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase,valve.state_b.phase,valve.state_a.phase,pipe1.state_a.phase,$whenCondition1,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[1].phase,pipe2.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,pipe3.statesFM[2].phase,pipe3.state_b.phase,pipe2.state_b.phase,pipe2.state_a.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 153 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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 {8 86} Notification: Performance of prepare postOptimizeDAE: time 0.000689/11.18, allocations: 255.5 kB / 4.201 GB, free: 15.99 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000544/11.18, allocations: 201.6 kB / 4.201 GB, free: 15.79 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/11.19, allocations: 7.751 MB / 4.209 GB, free: 8.855 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001585/11.19, allocations: 92.94 kB / 4.209 GB, free: 8.801 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/11.19, allocations: 3.938 kB / 4.209 GB, free: 8.801 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01165/11.2, allocations: 6.65 MB / 4.216 GB, free: 2.617 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0244/11.23, allocations: 11.1 MB / 4.226 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/11.23, allocations: 0 / 4.226 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002542/11.23, allocations: 405.7 kB / 4.227 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00172/11.23, allocations: 351.6 kB / 4.227 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004031/11.23, allocations: 62.22 kB / 4.227 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002421/11.24, allocations: 2.571 MB / 4.23 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.839e-06/11.24, allocations: 3.938 kB / 4.23 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3932/11.63, allocations: 6.964 MB / 4.237 GB, free: 73.83 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002372/11.63, allocations: 0.772 MB / 4.237 GB, free: 73.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007201/11.63, allocations: 49.36 kB / 4.237 GB, free: 73.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002521/11.63, allocations: 200.5 kB / 4.238 GB, free: 73.73 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004845/11.63, allocations: 157.2 kB / 4.238 GB, free: 73.73 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002832/11.63, allocations: 69.09 kB / 4.238 GB, free: 73.73 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002844/11.64, allocations: 1.29 MB / 4.239 GB, free: 73.57 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.76e-07/11.64, allocations: 0 / 4.239 GB, free: 73.57 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01033/11.65, allocations: 2.798 MB / 4.242 GB, free: 73.57 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (pipe1.mediums[1].p,pipe1.mediums[1].h,valve.filter.x[1],valve.filter.x[2],pipe2.mediums[1].p,pipe2.mediums[1].h,pipe2.mediums[2].p,pipe2.mediums[2].h,pipe3.mediums[1].p,pipe3.mediums[1].h) * Number of discrete variables: 54 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse22.phase,$cse22.region,$cse24.region3boundary,$cse25.region3boundary,$cse26.phase,$cse26.region,$cse27.region3boundary,$cse28.region3boundary,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,$cse39.region3boundary,$cse40.region3boundary,$cse41.phase,$cse41.region,$cse43.phase,$cse43.region,$whenCondition1,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[1].phase,pipe2.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled,pipe3.statesFM[2].phase) * Number of discrete states: 6 (valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 25 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01189/11.66, allocations: 2.866 MB / 4.245 GB, free: 73.45 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01006/11.67, allocations: 4.989 MB / 4.249 GB, free: 73.16 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.86e-06/11.67, allocations: 6.188 kB / 4.249 GB, free: 73.16 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.004283/11.67, allocations: 2.358 MB / 4.252 GB, free: 73.09 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005549/11.68, allocations: 0.9286 MB / 4.253 GB, free: 73.06 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/11.69, allocations: 6.252 MB / 4.259 GB, free: 71.94 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002106/11.69, allocations: 2.259 MB / 4.261 GB, free: 71.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/11.7, allocations: 188.1 kB / 4.261 GB, free: 71.19 MB / 0.5886 GB Notification: Performance of SimCode: time 1.608e-06/11.7, allocations: 2.281 kB / 4.261 GB, free: 71.19 MB / 0.5886 GB Notification: Performance of Templates: time 0.1953/11.89, allocations: 98.27 MB / 4.357 GB, free: 66.17 MB / 0.5886 GB