Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.NonCircularPipes.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Fluid.Examples.NonCircularPipes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|annulus_pipe.mediums.1..h|annulus_pipe.mediums.2..h|annulus_pipe.mediums.2..p|circular_pipe.mediums.1..h|circular_pipe.mediums.2..h|circular_pipe.mediums.2..p",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.NonCircularPipes") Notification: Performance of loadModel(Modelica): time 1.745/1.745, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003388, allocations: 8 kB / 233.9 MB, free: 2.406 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07865/0.07901, allocations: 38.77 MB / 272.6 MB, free: 11.57 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.NonCircularPipes): time 0.2994/0.3785, allocations: 52.68 MB / 325.3 MB, free: 4.992 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.04202/0.4206, allocations: 22.37 MB / 347.7 MB, free: 3.316 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002121/0.4227, allocations: 59.5 kB / 347.7 MB, free: 3.258 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003358/0.4261, allocations: 0.7311 MB / 348.5 MB, free: 2.523 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01323/0.4394, allocations: 3.113 MB / 351.6 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02629/0.4657, allocations: 6.454 MB / 358 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007176/0.4729, allocations: 3.186 MB / 361.2 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002153/0.4751, allocations: 0.9215 MB / 362.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03383/0.509, allocations: 12.34 MB / 374.5 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03053/0.5396, allocations: 12.03 MB / 386.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005514/0.5402, allocations: 76 kB / 386.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02448/0.5647, allocations: 8.58 MB / 395.2 MB, free: 3.746 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001256/0.566, allocations: 0.5688 MB / 395.7 MB, free: 3.176 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007987/0.5668, allocations: 392.8 kB / 396.1 MB, free: 2.785 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01363/0.5805, allocations: 5.18 MB / 401.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5805, allocations: 0 / 401.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.5806, allocations: 0 / 401.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.782e-05/0.5807, allocations: 0 / 401.3 MB, free: 13.59 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.009765/0.5904, allocations: 2.586 MB / 403.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.5905, allocations: 8.031 kB / 403.9 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006216/0.5967, allocations: 0.591 MB / 404.5 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003372/0.6002, allocations: 1.141 MB / 405.6 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.6004, allocations: 146.8 kB / 405.8 MB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004054/0.6008, allocations: 148 kB / 405.9 MB, free: 8.875 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00964/0.6105, allocations: 2.797 MB / 408.7 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.167e-05/0.6106, allocations: 11.94 kB / 408.7 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002731/0.6109, allocations: 59.98 kB / 408.8 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000309/0.6112, allocations: 150.6 kB / 408.9 MB, free: 5.723 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01063/0.6219, allocations: 2.66 MB / 411.6 MB, free: 3.055 MB / 330.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.02448/0.6464, allocations: 11.93 MB / 423.5 MB, free: 6.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007859/0.6543, allocations: 1.748 MB / 425.3 MB, free: 4.426 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01484/0.6692, allocations: 5.707 MB / 431 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.592e-05/0.6693, allocations: 47.56 kB / 431 MB, free: 13.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=108): time 4.127e-06/0.6693, allocations: 0 / 431 MB, free: 13.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=124): time 0.035/0.7043, allocations: 7.018 MB / 438 MB, free: 6.766 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.86e-05/0.7045, allocations: 145.5 kB / 438.2 MB, free: 6.594 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00234/0.7068, allocations: 1.134 MB / 439.3 MB, free: 5.445 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003012/0.7071, allocations: 45.7 kB / 439.3 MB, free: 5.395 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007723/0.7079, allocations: 0.7632 MB / 440.1 MB, free: 4.617 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006252/0.7086, allocations: 441.8 kB / 440.5 MB, free: 4.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.7087, allocations: 36 kB / 440.6 MB, free: 4.145 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000226/0.709, allocations: 369.9 kB / 440.9 MB, free: 3.777 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00316/0.7122, allocations: 0.8744 MB / 441.8 MB, free: 2.902 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003708/0.7159, allocations: 1.334 MB / 443.1 MB, free: 1.371 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.952/6.668, allocations: 0.4883 GB / 0.9211 GB, free: 50.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/6.668, allocations: 4 kB / 0.9211 GB, free: 50.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.008612/6.677, allocations: 2.709 MB / 0.9238 GB, free: 47.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002866/6.677, allocations: 0.4932 MB / 0.9242 GB, free: 47.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/6.677, allocations: 12 kB / 0.9242 GB, free: 47.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002602/6.68, allocations: 0.5083 MB / 0.9247 GB, free: 46.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002808/6.682, allocations: 395.5 kB / 0.9251 GB, free: 46.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002645/6.685, allocations: 2.866 MB / 0.9279 GB, free: 43.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002556/6.688, allocations: 208.9 kB / 0.9281 GB, free: 43.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002144/6.688, allocations: 79.98 kB / 0.9282 GB, free: 42.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/6.688, allocations: 4.625 kB / 0.9282 GB, free: 42.93 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007809/6.696, allocations: 2.522 MB / 0.9307 GB, free: 40.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.993e-05/6.696, allocations: 12 kB / 0.9307 GB, free: 40.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002467/6.698, allocations: 0.5068 MB / 0.9312 GB, free: 39.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002711/6.701, allocations: 391.4 kB / 0.9315 GB, free: 39.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002673/6.704, allocations: 2.879 MB / 0.9344 GB, free: 36.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/6.706, allocations: 202.2 kB / 0.9345 GB, free: 36.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/6.706, allocations: 79.98 kB / 0.9346 GB, free: 36.24 MB / 362.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: circular_pipe.mediums[1].p = 1000000.0 annulus_pipe.mediums[1].p = 1000000.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 11 (boundary.medium.phase,massflowsink1.medium.phase,massflowsink2.medium.phase,circular_pipe.statesFM[1].phase,circular_pipe.statesFM[2].phase,annulus_pipe.statesFM[1].phase,annulus_pipe.statesFM[2].phase,annulus_pipe.state_b.phase,annulus_pipe.state_a.phase,circular_pipe.state_b.phase,circular_pipe.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 184 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,1 1,2 8,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001184/6.708, allocations: 0.5906 MB / 0.9352 GB, free: 35.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003162/6.708, allocations: 145.5 kB / 0.9353 GB, free: 35.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/6.719, allocations: 5.433 MB / 0.9406 GB, free: 30.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009307/6.728, allocations: 4.987 MB / 0.9455 GB, free: 25.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/6.728, allocations: 0 / 0.9455 GB, free: 25.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/6.73, allocations: 0.507 MB / 0.946 GB, free: 24.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004359/6.73, allocations: 31.98 kB / 0.946 GB, free: 24.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002228/6.732, allocations: 216.6 kB / 0.9462 GB, free: 24.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003729/6.733, allocations: 121.1 kB / 0.9464 GB, free: 24.24 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01003/6.743, allocations: 3.665 MB / 0.9499 GB, free: 20.56 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01028/6.753, allocations: 4.956 MB / 0.9548 GB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003185/6.756, allocations: 1.589 MB / 0.9563 GB, free: 13.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001495/6.758, allocations: 0.808 MB / 0.9571 GB, free: 13.16 MB / 362.7 MB Notification: Performance of Backend: time 5.01e-07/6.758, allocations: 0 / 0.9571 GB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01859/6.777, allocations: 4.571 MB / 0.9616 GB, free: 9.02 MB / 362.7 MB Notification: Performance of SimCode: time 0.2511/7.028, allocations: 5.323 MB / 0.9668 GB, free: 126.3 MB / 362.7 MB Notification: Performance of Templates: time 0.1552/7.183, allocations: 76.18 MB / 1.041 GB, free: 65.81 MB / 362.7 MB