Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_StandardWater.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.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.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_StandardWater") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003853/0.003853, allocations: 365 kB / 15.96 MB, free: 6.203 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 4.238/4.238, allocations: 388.9 MB / 405.6 MB, free: 10.2 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.00347/0.003469, allocations: 221.3 kB / 451 MB, free: 145 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.5214/0.5214, allocations: 80.01 MB / 0.5627 GB, free: 19.81 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004652, allocations: 8 kB / 0.6265 GB, free: 96.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09775/0.09824, allocations: 54.86 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_StandardWater): time 0.4315/0.5298, allocations: 89.86 MB / 0.7679 GB, free: 13.88 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.7628/1.293, allocations: 172.9 MB / 0.9368 GB, free: 2.734 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003816/1.296, allocations: 114.4 kB / 0.9369 GB, free: 2.684 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004723/1.301, allocations: 1.014 MB / 0.9378 GB, free: 2.434 MB / 474.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.02896/1.33, allocations: 7.098 MB / 0.9448 GB, free: 1.121 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03077/1.361, allocations: 7.794 MB / 0.9524 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.02261/1.384, allocations: 15.75 MB / 0.9678 GB, free: 8.98 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007328/1.391, allocations: 3.021 MB / 0.9707 GB, free: 7.691 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01335/1.404, allocations: 4.542 MB / 0.9752 GB, free: 6.281 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06749/1.472, allocations: 28.17 MB / 1.003 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002709/1.475, allocations: 310.8 kB / 1.003 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03567/1.511, allocations: 10.4 MB / 1.013 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.006172/1.517, allocations: 2.764 MB / 1.016 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.004619/1.521, allocations: 1.455 MB / 1.017 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.02819/1.55, allocations: 12.49 MB / 1.029 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.55, allocations: 0 / 1.029 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.555e-06/1.55, allocations: 0 / 1.029 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.00033/1.55, allocations: 4 kB / 1.029 GB, free: 9.016 MB / 0.5261 GB 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.05407/1.604, allocations: 9.423 MB / 1.039 GB, free: 280 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/1.604, allocations: 12.03 kB / 1.039 GB, free: 268 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02288/1.627, allocations: 2.226 MB / 1.041 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03122/1.658, allocations: 10.58 MB / 1.051 GB, free: 6.84 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001189/1.66, allocations: 0.5774 MB / 1.052 GB, free: 6.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003492/1.663, allocations: 0.6066 MB / 1.052 GB, free: 6.094 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05014/1.713, allocations: 13.75 MB / 1.066 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002942/1.714, allocations: 25.53 kB / 1.066 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002831/1.717, allocations: 241.5 kB / 1.066 GB, free: 12.06 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001769/1.718, allocations: 0.9507 MB / 1.067 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05638/1.775, allocations: 14.67 MB / 1.081 GB, free: 0.9648 MB / 0.5573 GB 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.5128/2.288, allocations: 51.67 MB / 1.132 GB, free: 256.4 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03373/2.321, allocations: 8.794 MB / 1.14 GB, free: 254.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01682/2.338, allocations: 5.311 MB / 1.145 GB, free: 252.9 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01796/2.356, allocations: 7.349 MB / 1.153 GB, free: 247.1 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/2.357, allocations: 103.3 kB / 1.153 GB, free: 247 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005235/2.362, allocations: 0.5651 MB / 1.153 GB, free: 246.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=631): time 2.492e-05/2.362, allocations: 3.656 kB / 1.153 GB, free: 246.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=733): time 0.145/2.507, allocations: 37.46 MB / 1.19 GB, free: 223 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.163e-05/2.507, allocations: 180.6 kB / 1.19 GB, free: 222.8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008091/2.515, allocations: 3.872 MB / 1.194 GB, free: 218.9 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.002005/2.517, allocations: 157.7 kB / 1.194 GB, free: 218.7 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.002194/2.519, allocations: 2.629 MB / 1.197 GB, free: 216.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.004244/2.524, allocations: 2.53 MB / 1.199 GB, free: 213.6 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001887/2.526, allocations: 164 kB / 1.199 GB, free: 213.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000792/2.526, allocations: 0.6293 MB / 1.2 GB, free: 212.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02358/2.55, allocations: 5.54 MB / 1.205 GB, free: 207.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02542/2.576, allocations: 7.215 MB / 1.212 GB, free: 199.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02575/2.601, allocations: 6.38 MB / 1.219 GB, free: 193 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.648e-05/2.601, allocations: 12 kB / 1.219 GB, free: 193 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1046) (initialization): time 0.07276/2.674, allocations: 18.49 MB / 1.237 GB, free: 174.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001081/2.675, allocations: 1.416 MB / 1.238 GB, free: 172.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.134e-05/2.676, allocations: 44 kB / 1.238 GB, free: 172.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2482/2.924, allocations: 40.39 MB / 1.277 GB, free: 131.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006542/2.93, allocations: 0.9477 MB / 1.278 GB, free: 130.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06171/2.992, allocations: 18.74 MB / 1.297 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01422/3.006, allocations: 0.9822 MB / 1.298 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002244/3.009, allocations: 379.9 kB / 1.298 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/3.009, allocations: 4 kB / 1.298 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05944/3.068, allocations: 17.17 MB / 1.315 GB, free: 93.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001156/3.068, allocations: 44 kB / 1.315 GB, free: 93.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1554/3.224, allocations: 30.39 MB / 1.344 GB, free: 62.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007206/3.231, allocations: 1.026 MB / 1.345 GB, free: 61.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05319/3.284, allocations: 16.4 MB / 1.361 GB, free: 45.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01328/3.298, allocations: 0.9585 MB / 1.362 GB, free: 44.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00251/3.3, allocations: 371.8 kB / 1.363 GB, free: 44.04 MB / 0.5886 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.007739/3.308, allocations: 2.175 MB / 1.365 GB, free: 41.85 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002594/3.311, allocations: 0.5211 MB / 1.365 GB, free: 41.32 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06436/3.375, allocations: 24.7 MB / 1.39 GB, free: 16.51 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3899/3.765, allocations: 21.13 MB / 1.41 GB, free: 256.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-05/3.765, allocations: 0 / 1.41 GB, free: 256.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002985/3.768, allocations: 1.076 MB / 1.411 GB, free: 256.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003749/3.772, allocations: 215.8 kB / 1.411 GB, free: 256.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01783/3.79, allocations: 0.9462 MB / 1.412 GB, free: 256.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004676/3.794, allocations: 0.6876 MB / 1.413 GB, free: 256.2 MB / 0.5886 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07628/3.871, allocations: 20.62 MB / 1.433 GB, free: 249.9 MB / 0.5886 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.07746/3.948, allocations: 27.31 MB / 1.46 GB, free: 236.8 MB / 0.5886 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02005/3.968, allocations: 9.054 MB / 1.469 GB, free: 227.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.005701/3.974, allocations: 2.622 MB / 1.471 GB, free: 225.2 MB / 0.5886 GB Notification: Performance of Backend: time 1.272e-06/3.974, allocations: 0 / 1.471 GB, free: 225.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.08183/4.056, allocations: 19.57 MB / 1.49 GB, free: 206.5 MB / 0.5886 GB Notification: Performance of SimCode: time 0.0453/4.101, allocations: 22.52 MB / 1.512 GB, free: 184.1 MB / 0.5886 GB Notification: Performance of Templates: time 0.9416/5.043, allocations: 254.3 MB / 1.761 GB, free: 202 MB / 0.5886 GB