Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_StandardWater.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_StandardWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|pipe1.flowModel.m_flows.1.|pipe1.flowModel.m_flows.2.|pipe1.flowModel.m_flows.3.|pipe1.flowModel.m_flows.4.|pipe1.flowModel.m_flows.5.|pipe1.flowModel.m_flows.6.|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe1.mediums.2..h|pipe1.mediums.2..p|pipe1.mediums.3..h|pipe1.mediums.3..p|pipe1.mediums.4..h|pipe1.mediums.4..p|pipe1.mediums.5..h|pipe1.mediums.5..p|pipe2.flowModel.m_flows.1.|pipe2.flowModel.m_flows.2.|pipe2.flowModel.m_flows.3.|pipe2.flowModel.m_flows.4.|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe2.mediums.2..h|pipe2.mediums.2..p|pipe2.mediums.3..h|pipe2.mediums.3..p|pipe2.mediums.4..h|pipe2.mediums.4..p|pipe2.mediums.5..h|pipe2.mediums.5..p|pipe3.flowModel.m_flows.1.|pipe3.flowModel.m_flows.2.|pipe3.flowModel.m_flows.3.|pipe3.flowModel.m_flows.4.|pipe3.flowModel.m_flows.5.|pipe3.flowModel.m_flows.6.|pipe3.mediums.1..h|pipe3.mediums.1..p|pipe3.mediums.2..h|pipe3.mediums.2..p|pipe3.mediums.3..h|pipe3.mediums.3..p|pipe3.mediums.4..h|pipe3.mediums.4..p|pipe3.mediums.5..h|pipe3.mediums.5..p|pipe4.flowModel.m_flows.1.|pipe4.flowModel.m_flows.2.|pipe4.flowModel.m_flows.3.|pipe4.flowModel.m_flows.4.|pipe4.flowModel.m_flows.5.|pipe4.flowModel.m_flows.6.|pipe4.mediums.1..h|pipe4.mediums.1..p|pipe4.mediums.2..h|pipe4.mediums.2..p|pipe4.mediums.3..h|pipe4.mediums.3..p|pipe4.mediums.4..h|pipe4.mediums.4..p|pipe4.mediums.5..h|pipe4.mediums.5..p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_StandardWater") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004475/0.00448, allocations: 348.4 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.605/3.605, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003618/0.003618, allocations: 229.2 kB / 397.9 MB, free: 4.98 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4654/0.4654, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005025/0.0005027, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0907/0.09123, allocations: 48.7 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_StandardWater): time 0.4031/0.4944, allocations: 89.25 MB / 0.6939 GB, free: 23.74 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.6026/1.097, allocations: 172.7 MB / 0.8626 GB, free: 1.328 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003715/1.101, allocations: 114.2 kB / 0.8627 GB, free: 1.277 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00468/1.106, allocations: 1.015 MB / 0.8637 GB, free: 0.5859 MB / 410.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.1+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.1+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.1+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.0293/1.135, allocations: 7.022 MB / 0.8705 GB, free: 11.41 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03014/1.165, allocations: 7.697 MB / 0.878 GB, free: 4.637 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.02444/1.19, allocations: 15.68 MB / 0.8934 GB, free: 5.254 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007456/1.197, allocations: 3.01 MB / 0.8963 GB, free: 2.32 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01285/1.21, allocations: 4.532 MB / 0.9007 GB, free: 13.96 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06847/1.279, allocations: 27.91 MB / 0.928 GB, free: 2.43 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002645/1.281, allocations: 308 kB / 0.9283 GB, free: 2.129 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03442/1.316, allocations: 10.24 MB / 0.9383 GB, free: 8.027 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006059/1.322, allocations: 2.767 MB / 0.941 GB, free: 5.309 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004593/1.326, allocations: 1.455 MB / 0.9424 GB, free: 3.844 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.4416/1.768, allocations: 12.41 MB / 0.9545 GB, free: 43.78 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/1.768, allocations: 0.5625 kB / 0.9545 GB, free: 43.78 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.599e-06/1.768, allocations: 1.125 kB / 0.9545 GB, free: 43.78 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004863/1.769, allocations: 2.25 kB / 0.9545 GB, free: 43.78 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1897 * Number of variables: 1897 Notification: Performance of Generate backend data structure: time 0.0592/1.828, allocations: 9.366 MB / 0.9637 GB, free: 40.78 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/1.828, allocations: 13.09 kB / 0.9637 GB, free: 40.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02424/1.852, allocations: 2.208 MB / 0.9658 GB, free: 40.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03124/1.884, allocations: 10.42 MB / 0.976 GB, free: 39.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001388/1.885, allocations: 0.5744 MB / 0.9766 GB, free: 39.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00484/1.89, allocations: 0.6053 MB / 0.9772 GB, free: 39.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05512/1.945, allocations: 13.75 MB / 0.9906 GB, free: 38.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004366/1.946, allocations: 23.78 kB / 0.9906 GB, free: 38.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004697/1.95, allocations: 242.4 kB / 0.9908 GB, free: 38.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001624/1.952, allocations: 0.9515 MB / 0.9918 GB, free: 38.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05636/2.008, allocations: 14.67 MB / 1.006 GB, free: 35.26 MB / 490.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.1234/2.132, allocations: 51.67 MB / 1.057 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03537/2.167, allocations: 8.798 MB / 1.065 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01805/2.185, allocations: 5.301 MB / 1.07 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01931/2.205, allocations: 7.304 MB / 1.077 GB, free: 3.969 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/2.205, allocations: 104.2 kB / 1.078 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006162/2.211, allocations: 0.5562 MB / 1.078 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=631): time 3.509e-05/2.211, allocations: 0 / 1.078 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of matching and sorting (n=733): time 0.1889/2.4, allocations: 37.46 MB / 1.115 GB, free: 3.723 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/2.4, allocations: 176.6 kB / 1.115 GB, free: 3.523 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01052/2.411, allocations: 3.887 MB / 1.119 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.002441/2.413, allocations: 153.7 kB / 1.119 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003425/2.417, allocations: 2.621 MB / 1.121 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.005458/2.422, allocations: 2.539 MB / 1.124 GB, free: 10.37 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002011/2.424, allocations: 160 kB / 1.124 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0008808/2.425, allocations: 0.6371 MB / 1.125 GB, free: 9.566 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02054/2.446, allocations: 5.543 MB / 1.13 GB, free: 4.016 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02309/2.469, allocations: 7.203 MB / 1.137 GB, free: 12.2 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02325/2.492, allocations: 6.381 MB / 1.143 GB, free: 5.836 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.367e-05/2.492, allocations: 12 kB / 1.143 GB, free: 5.824 MB / 0.573 GB Notification: Performance of matching and sorting (n=1046) (initialization): time 0.3803/2.873, allocations: 18.49 MB / 1.161 GB, free: 272.3 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001033/2.874, allocations: 1.411 MB / 1.163 GB, free: 270.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001063/2.874, allocations: 43.91 kB / 1.163 GB, free: 270.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1934/3.067, allocations: 40.41 MB / 1.202 GB, free: 251.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00696/3.074, allocations: 0.9467 MB / 1.203 GB, free: 250.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08388/3.158, allocations: 18.73 MB / 1.221 GB, free: 234.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01832/3.177, allocations: 0.9915 MB / 1.222 GB, free: 233.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002916/3.18, allocations: 379.9 kB / 1.223 GB, free: 233 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/3.18, allocations: 4 kB / 1.223 GB, free: 233 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06176/3.241, allocations: 17.15 MB / 1.24 GB, free: 215.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/3.242, allocations: 47.95 kB / 1.24 GB, free: 215.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1557/3.397, allocations: 30.4 MB / 1.269 GB, free: 185.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007516/3.405, allocations: 1.026 MB / 1.27 GB, free: 184.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05915/3.464, allocations: 16.39 MB / 1.286 GB, free: 168 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01904/3.483, allocations: 0.9653 MB / 1.287 GB, free: 167.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003261/3.487, allocations: 363.9 kB / 1.288 GB, free: 166.8 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 199 * Number of states: 0 () * Number of discrete variables: 30 (pipe4.state_b.phase,pipe4.state_a.phase,pipe3.state_b.phase,pipe3.state_a.phase,pipe1.state_b.phase,pipe1.state_a.phase,boundary1.medium.phase,pipe1.statesFM[2].phase,pipe1.statesFM[3].phase,pipe1.statesFM[4].phase,pipe1.statesFM[5].phase,pipe1.statesFM[6].phase,pipe2.statesFM[1].phase,pipe2.statesFM[2].phase,pipe2.statesFM[3].phase,pipe2.statesFM[4].phase,pipe2.statesFM[5].phase,pipe3.statesFM[2].phase,pipe3.statesFM[3].phase,pipe3.statesFM[4].phase,pipe3.statesFM[5].phase,pipe3.statesFM[6].phase,pipe4.statesFM[2].phase,pipe4.statesFM[3].phase,pipe4.statesFM[4].phase,pipe4.statesFM[5].phase,pipe4.statesFM[6].phase,boundary4.medium.phase,pipe2.state_b.phase,pipe2.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (527): * Single equations (assignments): 526 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {67 453} Notification: Performance of prepare postOptimizeDAE: time 0.01197/3.499, allocations: 2.192 MB / 1.29 GB, free: 164.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003827/3.502, allocations: 0.5199 MB / 1.29 GB, free: 164.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09282/3.595, allocations: 24.69 MB / 1.314 GB, free: 139.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07713/3.672, allocations: 21.12 MB / 1.335 GB, free: 118.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001035/3.673, allocations: 2.125 kB / 1.335 GB, free: 118.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004054/3.677, allocations: 1.078 MB / 1.336 GB, free: 117.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004912/3.682, allocations: 222.3 kB / 1.336 GB, free: 117.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01689/3.699, allocations: 0.9513 MB / 1.337 GB, free: 116.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004168/3.703, allocations: 0.6967 MB / 1.338 GB, free: 115.5 MB / 0.573 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07773/3.781, allocations: 20.6 MB / 1.358 GB, free: 94.84 MB / 0.573 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.06845/3.849, allocations: 27.32 MB / 1.385 GB, free: 67.43 MB / 0.573 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02055/3.87, allocations: 9.05 MB / 1.393 GB, free: 58.36 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.006521/3.876, allocations: 2.62 MB / 1.396 GB, free: 55.76 MB / 0.573 GB Notification: Performance of Backend: time 7.62e-07/3.876, allocations: 0 / 1.396 GB, free: 55.76 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.08735/3.964, allocations: 19.52 MB / 1.415 GB, free: 36.91 MB / 0.573 GB Notification: Performance of SimCode: time 0.3775/4.341, allocations: 22.52 MB / 1.437 GB, free: 260.2 MB / 0.573 GB Notification: Performance of Templates: time 0.5673/4.909, allocations: 253.8 MB / 1.685 GB, free: 38.27 MB / 0.573 GB