Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.NonCircularPipes.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Fluid.Examples.NonCircularPipes") Notification: Performance of loadModel(Modelica): time 1.885/1.885, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003447, allocations: 12 kB / 264.5 MB, free: 12.96 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08944/0.08981, allocations: 44.51 MB / 309.1 MB, free: 396 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.NonCircularPipes): time 0.08302/0.1729, allocations: 53.08 MB / 362.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3032/0.4762, allocations: 22.53 MB / 384.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/0.4783, allocations: 59.47 kB / 384.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003263/0.4817, allocations: 0.7211 MB / 385.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01347/0.4952, allocations: 3.143 MB / 388.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02733/0.5226, allocations: 6.518 MB / 395.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006669/0.5293, allocations: 3.227 MB / 398.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00198/0.5313, allocations: 0.9353 MB / 399.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03149/0.5628, allocations: 12.47 MB / 411.7 MB, free: 7.457 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02884/0.5917, allocations: 12.15 MB / 423.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005034/0.5923, allocations: 78.73 kB / 424 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02543/0.6177, allocations: 8.694 MB / 432.7 MB, free: 5.461 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001275/0.6191, allocations: 0.5619 MB / 433.2 MB, free: 5.086 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009013/0.62, allocations: 402.3 kB / 433.6 MB, free: 4.848 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01406/0.634, allocations: 5.222 MB / 438.8 MB, free: 384 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6341, allocations: 0 / 438.8 MB, free: 384 kB / 330.7 MB Notification: Performance of FrontEnd: time 3.757e-06/0.6341, allocations: 0 / 438.8 MB, free: 384 kB / 330.7 MB Notification: Performance of Transformations before backend: time 7.045e-05/0.6342, allocations: 0 / 438.8 MB, free: 384 kB / 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.01009/0.6443, allocations: 2.624 MB / 441.5 MB, free: 13.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.6444, allocations: 8.031 kB / 441.5 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006231/0.6506, allocations: 0.5933 MB / 442.1 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003368/0.654, allocations: 1.146 MB / 443.2 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.6543, allocations: 144 kB / 443.3 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004065/0.6547, allocations: 149.2 kB / 443.5 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009428/0.6641, allocations: 2.785 MB / 446.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.004e-05/0.6642, allocations: 13.72 kB / 446.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002777/0.6645, allocations: 70.81 kB / 446.4 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003042/0.6649, allocations: 146.1 kB / 446.5 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01066/0.6755, allocations: 2.665 MB / 449.2 MB, free: 7.926 MB / 346.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.02321/0.6988, allocations: 11.93 MB / 461.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007785/0.7066, allocations: 1.756 MB / 462.9 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01581/0.7225, allocations: 5.754 MB / 468.6 MB, free: 4.762 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.682e-05/0.7226, allocations: 46.19 kB / 468.7 MB, free: 4.711 MB / 362.7 MB Notification: Performance of pre-optimization done (n=108): time 3.747e-06/0.7226, allocations: 0 / 468.7 MB, free: 4.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=124): time 0.03604/0.7586, allocations: 7.035 MB / 475.7 MB, free: 13.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.895e-05/0.7588, allocations: 145.5 kB / 475.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002382/0.7612, allocations: 1.13 MB / 477 MB, free: 12.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003521/0.7615, allocations: 53.7 kB / 477 MB, free: 12.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008401/0.7624, allocations: 0.7641 MB / 477.8 MB, free: 11.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006809/0.7631, allocations: 435.7 kB / 478.2 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.7633, allocations: 32 kB / 478.2 MB, free: 11.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002191/0.7635, allocations: 373.9 kB / 478.6 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00326/0.7668, allocations: 0.8744 MB / 479.5 MB, free: 9.812 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003757/0.7706, allocations: 1.333 MB / 480.8 MB, free: 8.293 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.392/6.162, allocations: 0.4883 GB / 0.9579 GB, free: 76.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/6.162, allocations: 8 kB / 0.9579 GB, free: 76.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.00833/6.171, allocations: 2.718 MB / 0.9605 GB, free: 74.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002258/6.171, allocations: 497.8 kB / 0.961 GB, free: 73.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/6.171, allocations: 16 kB / 0.961 GB, free: 73.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002647/6.174, allocations: 0.5007 MB / 0.9615 GB, free: 73.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002704/6.176, allocations: 404.1 kB / 0.9619 GB, free: 72.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/6.179, allocations: 2.869 MB / 0.9647 GB, free: 69.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002452/6.182, allocations: 204.5 kB / 0.9649 GB, free: 69.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/6.182, allocations: 79.98 kB / 0.965 GB, free: 69.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/6.182, allocations: 4 kB / 0.965 GB, free: 69.44 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007589/6.189, allocations: 2.525 MB / 0.9675 GB, free: 66.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/6.189, allocations: 15.83 kB / 0.9675 GB, free: 66.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00245/6.192, allocations: 0.5029 MB / 0.968 GB, free: 66.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002569/6.194, allocations: 398.4 kB / 0.9683 GB, free: 65.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/6.197, allocations: 2.88 MB / 0.9711 GB, free: 63.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/6.199, allocations: 199.8 kB / 0.9713 GB, free: 62.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/6.199, allocations: 75.98 kB / 0.9714 GB, free: 62.76 MB / 426.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.001186/6.201, allocations: 0.5987 MB / 0.972 GB, free: 62.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002828/6.201, allocations: 137.7 kB / 0.9721 GB, free: 62.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/6.211, allocations: 5.431 MB / 0.9774 GB, free: 56.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008737/6.22, allocations: 4.979 MB / 0.9823 GB, free: 51.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/6.22, allocations: 0 / 0.9823 GB, free: 51.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/6.221, allocations: 0.507 MB / 0.9828 GB, free: 51.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003786/6.222, allocations: 28 kB / 0.9828 GB, free: 51.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002088/6.224, allocations: 227.1 kB / 0.983 GB, free: 50.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003373/6.224, allocations: 114 kB / 0.9831 GB, free: 50.77 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00925/6.233, allocations: 3.662 MB / 0.9867 GB, free: 47.1 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00958/6.243, allocations: 4.957 MB / 0.9916 GB, free: 42.09 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00295/6.246, allocations: 1.589 MB / 0.9931 GB, free: 40.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001469/6.248, allocations: 0.8098 MB / 0.9939 GB, free: 39.69 MB / 426.7 MB Notification: Performance of Backend: time 7.31e-07/6.248, allocations: 0 / 0.9939 GB, free: 39.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01738/6.265, allocations: 4.592 MB / 0.9984 GB, free: 35.54 MB / 426.7 MB Notification: Performance of SimCode: time 0.009023/6.274, allocations: 5.331 MB / 1.004 GB, free: 30.15 MB / 426.7 MB Notification: Performance of Templates: time 0.3938/6.668, allocations: 76.61 MB / 1.078 GB, free: 126.3 MB / 426.7 MB