Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|splitter.medium.h|splitter.medium.p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00272/0.00272, allocations: 368.3 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.821/3.821, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003534/0.003534, allocations: 227.5 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.6313/0.6313, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004508/0.000451, allocations: 8 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1073, allocations: 54.88 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4): time 0.5314/0.6388, allocations: 95.91 MB / 0.7738 GB, free: 9.027 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.07935/0.7183, allocations: 36.79 MB / 0.8097 GB, free: 7.352 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003825/0.7221, allocations: 107.2 kB / 0.8098 GB, free: 7.246 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005141/0.7273, allocations: 1.084 MB / 0.8108 GB, free: 6.156 MB / 394.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.02863/0.756, allocations: 6.951 MB / 0.8176 GB, free: 15.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03057/0.7866, allocations: 7.588 MB / 0.825 GB, free: 7.645 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01421/0.8009, allocations: 8.254 MB / 0.8331 GB, free: 15.37 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003299/0.8042, allocations: 1.264 MB / 0.8343 GB, free: 14.08 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006386/0.8107, allocations: 2.253 MB / 0.8365 GB, free: 11.82 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.05026/0.861, allocations: 19.51 MB / 0.8556 GB, free: 8.297 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001113/0.8621, allocations: 112 kB / 0.8557 GB, free: 8.188 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03046/0.8926, allocations: 9.683 MB / 0.8652 GB, free: 14.49 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002156/0.8948, allocations: 0.8139 MB / 0.8659 GB, free: 13.68 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00159/0.8965, allocations: 0.5394 MB / 0.8665 GB, free: 13.13 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01698/0.9135, allocations: 6.603 MB / 0.8729 GB, free: 6.516 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.9135, allocations: 0 / 0.8729 GB, free: 6.516 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.9136, allocations: 0 / 0.8729 GB, free: 6.516 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001348/0.9137, allocations: 0 / 0.8729 GB, free: 6.516 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: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.01543/0.9291, allocations: 3.746 MB / 0.8766 GB, free: 2.695 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.9292, allocations: 8.031 kB / 0.8766 GB, free: 2.688 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008719/0.938, allocations: 0.8671 MB / 0.8774 GB, free: 1.816 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01925/0.9573, allocations: 6.555 MB / 0.8838 GB, free: 11.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003751/0.9577, allocations: 175.8 kB / 0.884 GB, free: 11.03 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008967/0.9586, allocations: 196 kB / 0.8842 GB, free: 10.84 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01297/0.9716, allocations: 3.606 MB / 0.8877 GB, free: 7.086 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.709e-05/0.9717, allocations: 3.938 kB / 0.8877 GB, free: 7.082 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003653/0.9721, allocations: 91.95 kB / 0.8878 GB, free: 6.992 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004382/0.9726, allocations: 195.7 kB / 0.888 GB, free: 6.801 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01408/0.9866, allocations: 3.418 MB / 0.8913 GB, free: 3.379 MB / 474.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.3395/1.326, allocations: 15.26 MB / 0.9062 GB, free: 151.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009345/1.336, allocations: 2.261 MB / 0.9084 GB, free: 151.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003688/1.339, allocations: 1.117 MB / 0.9095 GB, free: 150.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06228/1.402, allocations: 19.11 MB / 0.9282 GB, free: 137.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00718/1.409, allocations: 1.672 MB / 0.9298 GB, free: 136.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=163): time 8.105e-06/1.409, allocations: 0 / 0.9298 GB, free: 136.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=179): time 0.0404/1.449, allocations: 8.759 MB / 0.9384 GB, free: 131.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.209e-05/1.45, allocations: 178.8 kB / 0.9386 GB, free: 131.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002887/1.452, allocations: 1.572 MB / 0.9401 GB, free: 130.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004999/1.453, allocations: 64.05 kB / 0.9402 GB, free: 130.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009566/1.454, allocations: 1.021 MB / 0.9411 GB, free: 129.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008972/1.455, allocations: 0.5981 MB / 0.9417 GB, free: 129.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/1.455, allocations: 47.22 kB / 0.9418 GB, free: 129.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/1.455, allocations: 391.8 kB / 0.9422 GB, free: 129 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003446/1.459, allocations: 1.1 MB / 0.9432 GB, free: 128.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004008/1.463, allocations: 1.617 MB / 0.9448 GB, free: 126.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004164/1.467, allocations: 1.364 MB / 0.9461 GB, free: 124.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.958e-05/1.467, allocations: 7.953 kB / 0.9461 GB, free: 124.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01007/1.477, allocations: 3.262 MB / 0.9493 GB, free: 121.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003651/1.478, allocations: 0.5891 MB / 0.9499 GB, free: 120.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/1.478, allocations: 12 kB / 0.9499 GB, free: 120.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/1.479, allocations: 251.2 kB / 0.9502 GB, free: 120.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004153/1.483, allocations: 0.5382 MB / 0.9507 GB, free: 120 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/1.485, allocations: 2.44 MB / 0.9531 GB, free: 117.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003887/1.489, allocations: 271.6 kB / 0.9533 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003503/1.489, allocations: 104 kB / 0.9534 GB, free: 117.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/1.489, allocations: 4.938 kB / 0.9534 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00888/1.498, allocations: 3.029 MB / 0.9564 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.845e-05/1.498, allocations: 12 kB / 0.9564 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/1.5, allocations: 263.1 kB / 0.9566 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003981/1.504, allocations: 0.5227 MB / 0.9572 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/1.505, allocations: 2.436 MB / 0.9595 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003698/1.509, allocations: 267.6 kB / 0.9598 GB, free: 110.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002964/1.509, allocations: 104 kB / 0.9599 GB, free: 110.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 30 (pipe3.state_a.phase,pipe2.state_a.phase,pipe1.state_b.phase,pipe1.state_a.phase,valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,valveIncompressible.state_b.phase,valveIncompressible.state_a.phase,$whenCondition1,$whenCondition2,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled,splitter.medium.phase,pipe3.state_b.phase,pipe2.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (256): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 2 * 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 {1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001703/1.511, allocations: 0.768 MB / 0.9606 GB, free: 109.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005705/1.512, allocations: 205.5 kB / 0.9608 GB, free: 109.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01499/1.527, allocations: 7.563 MB / 0.9682 GB, free: 101.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0127/1.539, allocations: 6.597 MB / 0.9747 GB, free: 94.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/1.539, allocations: 0 / 0.9747 GB, free: 94.88 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001973/1.541, allocations: 0.7184 MB / 0.9754 GB, free: 94.13 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007576/1.542, allocations: 51.98 kB / 0.9754 GB, free: 94.08 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003102/1.545, allocations: 263.4 kB / 0.9757 GB, free: 93.82 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004368/1.546, allocations: 145.8 kB / 0.9758 GB, free: 93.68 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01204/1.558, allocations: 4.756 MB / 0.9805 GB, free: 88.83 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01444/1.572, allocations: 6.778 MB / 0.9871 GB, free: 81.92 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004406/1.577, allocations: 2.196 MB / 0.9892 GB, free: 79.72 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002346/1.579, allocations: 1.156 MB / 0.9903 GB, free: 78.55 MB / 474.7 MB Notification: Performance of Backend: time 7.02e-07/1.579, allocations: 8 kB / 0.9904 GB, free: 78.54 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02375/1.603, allocations: 6.229 MB / 0.9964 GB, free: 72.8 MB / 474.7 MB Notification: Performance of SimCode: time 0.01524/1.618, allocations: 7.242 MB / 1.004 GB, free: 65.48 MB / 474.7 MB Notification: Performance of Templates: time 0.5148/2.133, allocations: 95.82 MB / 1.097 GB, free: 142.4 MB / 474.7 MB