Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Fluid.Examples.IncompressibleFluidNetwork,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..T|pipe1.mediums.2..T|pipe10.mediums.1..T|pipe10.mediums.2..T|pipe11.mediums.1..T|pipe11.mediums.2..T|pipe2.mediums.1..T|pipe2.mediums.2..T|pipe3.mediums.1..T|pipe3.mediums.2..T|pipe4.mediums.1..T|pipe4.mediums.2..T|pipe5.mediums.1..T|pipe5.mediums.2..T|pipe6.mediums.1..T|pipe6.mediums.2..T|pipe7.mediums.1..T|pipe7.mediums.2..T|pipe8.mediums.1..T|pipe8.mediums.2..T|pipe9.mediums.1..T|pipe9.mediums.2..T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork") Notification: Performance of loadModel(Modelica): time 1.607/1.607, allocations: 171.3 MB / 179.2 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.006e-05/2.025e-05, allocations: 4 kB / 222.5 MB, free: 4.75 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2102, allocations: 38.76 MB / 261.3 MB, free: 12.97 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7103/0.9205, allocations: 271.3 MB / 0.5201 GB, free: 100.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001797/0.9208, allocations: 72.09 kB / 0.5202 GB, free: 100.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.689/9.61, allocations: 1.621 GB / 2.142 GB, free: 19.94 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.097e-06/9.61, allocations: 4.984 kB / 2.142 GB, free: 19.94 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0009818/9.611, allocations: 195.9 kB / 2.142 GB, free: 19.94 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1492 * Number of variables: 1492 Notification: Performance of Generate backend data structure: time 0.04143/9.652, allocations: 10.09 MB / 2.152 GB, free: 16.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/9.652, allocations: 9.5 kB / 2.152 GB, free: 16.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01292/9.665, allocations: 1.235 MB / 2.153 GB, free: 16.25 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02488/9.69, allocations: 6.328 MB / 2.159 GB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005208/9.691, allocations: 191.2 kB / 2.159 GB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002954/9.694, allocations: 321.4 kB / 2.159 GB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02082/9.714, allocations: 7.526 MB / 2.167 GB, free: 15.21 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02667/9.741, allocations: 8.454 MB / 2.175 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002803/9.741, allocations: 23.41 kB / 2.175 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00296/9.744, allocations: 16.47 kB / 2.175 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001125/9.746, allocations: 0.5924 MB / 2.176 GB, free: 13.78 MB / 458.7 MB 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.07595/9.822, allocations: 33.72 MB / 2.209 GB, free: 14.98 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01195/9.834, allocations: 5.756 MB / 2.214 GB, free: 14.92 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007624/9.841, allocations: 3.507 MB / 2.218 GB, free: 14.89 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008152/9.849, allocations: 4.757 MB / 2.222 GB, free: 9.918 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/9.85, allocations: 97.2 kB / 2.222 GB, free: 9.875 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009608/9.859, allocations: 1.516 MB / 2.224 GB, free: 9.668 MB / 474.7 MB Notification: Performance of pre-optimization done (n=500): time 4.22e-05/9.859, allocations: 0 / 2.224 GB, free: 9.668 MB / 474.7 MB Notification: Performance of matching and sorting (n=632): time 0.1947/10.05, allocations: 35.81 MB / 2.259 GB, free: 7.516 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/10.05, allocations: 172.6 kB / 2.259 GB, free: 7.383 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008498/10.06, allocations: 3.205 MB / 2.262 GB, free: 6.18 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002016/10.06, allocations: 33.48 kB / 2.262 GB, free: 6.148 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003344/10.07, allocations: 2.699 MB / 2.265 GB, free: 3.902 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00411/10.07, allocations: 2.084 MB / 2.267 GB, free: 2.258 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001582/10.07, allocations: 0 / 2.267 GB, free: 2.258 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008513/10.07, allocations: 0.6015 MB / 2.267 GB, free: 1.816 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009367/10.08, allocations: 3.716 MB / 2.271 GB, free: 456 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01635/10.1, allocations: 5.59 MB / 2.277 GB, free: 14.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0479/10.15, allocations: 8.387 MB / 2.285 GB, free: 12.31 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.926e-05/10.15, allocations: 13.84 kB / 2.285 GB, free: 12.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.07257/10.22, allocations: 15.08 MB / 2.299 GB, free: 7.066 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.01027/10.23, allocations: 17.68 MB / 2.317 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002435/10.23, allocations: 48.56 kB / 2.317 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01363/10.25, allocations: 3.335 MB / 2.32 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008234/10.25, allocations: 1.364 MB / 2.321 GB, free: 0.5078 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4138/10.67, allocations: 18.33 MB / 2.339 GB, free: 46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01016/10.68, allocations: 367.1 kB / 2.34 GB, free: 46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002822/10.68, allocations: 421.4 kB / 2.34 GB, free: 46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/10.68, allocations: 7.828 kB / 2.34 GB, free: 45.99 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06805/10.75, allocations: 14.39 MB / 2.354 GB, free: 45.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001847/10.75, allocations: 47.5 kB / 2.354 GB, free: 45.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01067/10.76, allocations: 2.73 MB / 2.357 GB, free: 45.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008785/10.77, allocations: 1.394 MB / 2.358 GB, free: 45.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03063/10.8, allocations: 21.68 MB / 2.379 GB, free: 32.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007832/10.81, allocations: 356.7 kB / 2.38 GB, free: 32.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002643/10.81, allocations: 415.5 kB / 2.38 GB, free: 32.75 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe7.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe5.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe11.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe5.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe10.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe9.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe8.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe7.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe6.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe6.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe4.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe4.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe3.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe2.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe3.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe2.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe1.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe1.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (757): * Single equations (assignments): 734 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,9 42} Notification: Performance of prepare postOptimizeDAE: time 0.004325/10.81, allocations: 315.6 kB / 2.38 GB, free: 32.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00322/10.82, allocations: 0.587 MB / 2.381 GB, free: 32.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.077/10.89, allocations: 15.91 MB / 2.396 GB, free: 32.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001141/10.89, allocations: 69.03 kB / 2.397 GB, free: 32.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.61e-05/10.89, allocations: 0.5312 kB / 2.397 GB, free: 32.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06098/10.96, allocations: 12.26 MB / 2.409 GB, free: 31.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09932/11.06, allocations: 26.56 MB / 2.434 GB, free: 29.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.721e-05/11.06, allocations: 16.5 kB / 2.434 GB, free: 29.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005409/11.06, allocations: 0.8626 MB / 2.435 GB, free: 29.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02204/11.08, allocations: 4.125 MB / 2.439 GB, free: 28.92 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001807/11.08, allocations: 151 kB / 2.439 GB, free: 28.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0229/11.11, allocations: 18.1 MB / 2.457 GB, free: 16.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.408e-05/11.11, allocations: 30.59 kB / 2.457 GB, free: 16.43 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07415/11.18, allocations: 21.32 MB / 2.478 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006455/11.19, allocations: 1.637 MB / 2.48 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003142/11.19, allocations: 64.69 kB / 2.48 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007901/11.2, allocations: 219.3 kB / 2.48 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002059/11.2, allocations: 461.2 kB / 2.48 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001833/11.2, allocations: 322.1 kB / 2.481 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006161/11.21, allocations: 2.305 MB / 2.483 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.242e-06/11.21, allocations: 0 / 2.483 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.02852/11.24, allocations: 5.453 MB / 2.488 GB, free: 1.871 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 22 (pipe1.mediums[1].T,pipe1.mediums[2].T,pipe2.mediums[1].T,pipe2.mediums[2].T,pipe3.mediums[1].T,pipe3.mediums[2].T,pipe4.mediums[1].T,pipe4.mediums[2].T,pipe6.mediums[1].T,pipe6.mediums[2].T,pipe7.mediums[1].T,pipe7.mediums[2].T,pipe8.mediums[1].T,pipe8.mediums[2].T,pipe9.mediums[1].T,pipe9.mediums[2].T,pipe10.mediums[1].T,pipe10.mediums[2].T,pipe5.mediums[1].T,pipe5.mediums[2].T,pipe11.mediums[1].T,pipe11.mediums[2].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (500): * Single equations (assignments): 477 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,12 63} Notification: Performance of Backend phase and start with SimCode phase: time 0.01509/11.25, allocations: 3.607 MB / 2.492 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04148/11.29, allocations: 14.81 MB / 2.506 GB, free: 2.848 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.954e-05/11.29, allocations: 11.88 kB / 2.506 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.399/11.69, allocations: 4.73 MB / 2.511 GB, free: 71.72 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01596/11.71, allocations: 2.203 MB / 2.513 GB, free: 71.67 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0366/11.75, allocations: 14.07 MB / 2.527 GB, free: 68.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009125/11.76, allocations: 4.443 MB / 2.531 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004919/11.76, allocations: 0.656 MB / 2.532 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of SimCode: time 2.003e-06/11.76, allocations: 0 / 2.532 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of Templates: time 2.555/14.32, allocations: 0.7274 GB / 3.259 GB, free: 85.01 MB / 0.5261 GB