Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.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.BranchingPipes15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|pipe1.mediums.1..T|pipe1.mediums.1..p|pipe2.mediums.1..T|pipe2.mediums.1..p|pipe3.mediums.1..T|pipe3.mediums.1..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.BranchingPipes15") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002666/0.00267, allocations: 366.1 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 3.78/3.78, allocations: 388.9 MB / 405.6 MB, free: 9.641 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.003538/0.003537, allocations: 228.1 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.5009/0.5009, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007097/0.00071, allocations: 19.55 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1177, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15): time 1.075/1.193, allocations: 229.1 MB / 0.9039 GB, free: 7.199 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0401/1.233, allocations: 18.23 MB / 0.9217 GB, free: 7.012 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00378/1.237, allocations: 107.2 kB / 0.9218 GB, free: 7.012 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003741/1.241, allocations: 0.813 MB / 0.9226 GB, free: 6.992 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.01685/1.258, allocations: 4.312 MB / 0.9268 GB, free: 6.789 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02268/1.28, allocations: 5.214 MB / 0.9319 GB, free: 6.609 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.01287/1.293, allocations: 7.967 MB / 0.9396 GB, free: 6.609 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003498/1.297, allocations: 1.25 MB / 0.9409 GB, free: 6.301 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006623/1.303, allocations: 2.113 MB / 0.9429 GB, free: 5.961 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006242/1.31, allocations: 2.426 MB / 0.9453 GB, free: 5.434 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001084/1.311, allocations: 108.3 kB / 0.9454 GB, free: 5.434 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01148/1.322, allocations: 3.337 MB / 0.9487 GB, free: 4.703 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002019/1.324, allocations: 0.7988 MB / 0.9494 GB, free: 4.43 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001474/1.326, allocations: 477.2 kB / 0.9499 GB, free: 4.398 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009347/1.335, allocations: 3.919 MB / 0.9537 GB, free: 2.641 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/1.335, allocations: 4 kB / 0.9537 GB, free: 2.637 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.765e-06/1.335, allocations: 1.75 kB / 0.9537 GB, free: 2.637 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001151/1.336, allocations: 0 / 0.9537 GB, free: 2.637 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.011/1.347, allocations: 2.96 MB / 0.9566 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/1.347, allocations: 10.06 kB / 0.9566 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004089/1.351, allocations: 433.2 kB / 0.957 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00587/1.357, allocations: 1.873 MB / 0.9589 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/1.357, allocations: 128.9 kB / 0.959 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005731/1.357, allocations: 169 kB / 0.9591 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007042/1.364, allocations: 2.528 MB / 0.9616 GB, free: 15.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-05/1.365, allocations: 13.64 kB / 0.9616 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003295/1.365, allocations: 68.81 kB / 0.9617 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003914/1.365, allocations: 192.2 kB / 0.9619 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00724/1.373, allocations: 2.218 MB / 0.964 GB, free: 14.61 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.02586/1.399, allocations: 10.73 MB / 0.9745 GB, free: 5.707 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005438/1.404, allocations: 1.78 MB / 0.9763 GB, free: 4.371 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003097/1.407, allocations: 1.042 MB / 0.9773 GB, free: 3.703 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004406/1.412, allocations: 2.435 MB / 0.9797 GB, free: 1.012 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003495/1.415, allocations: 1.158 MB / 0.9808 GB, free: 160 kB / 490.7 MB Notification: Performance of pre-optimization done (n=162): time 7.174e-06/1.415, allocations: 0 / 0.9808 GB, free: 160 kB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipe1.mediums[1].T 2: pipe2.mediums[1].T 3: pipe3.mediums[1].T 4: junctionIdeal.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=185): time 0.04872/1.464, allocations: 10.51 MB / 0.991 GB, free: 7.961 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/1.464, allocations: 179.7 kB / 0.9912 GB, free: 7.75 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002991/1.467, allocations: 1.485 MB / 0.9927 GB, free: 6.625 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0005653/1.468, allocations: 61.77 kB / 0.9927 GB, free: 6.582 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.001013/1.469, allocations: 0.9025 MB / 0.9936 GB, free: 6.023 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001086/1.47, allocations: 0.6245 MB / 0.9942 GB, free: 5.488 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/1.47, allocations: 40.38 kB / 0.9943 GB, free: 5.48 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0002803/1.47, allocations: 389 kB / 0.9946 GB, free: 5.129 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003161/1.474, allocations: 1.013 MB / 0.9956 GB, free: 4.449 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003839/1.477, allocations: 1.516 MB / 0.9971 GB, free: 3.141 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003824/1.481, allocations: 1.303 MB / 0.9984 GB, free: 2.297 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.029e-05/1.481, allocations: 4 kB / 0.9984 GB, free: 2.293 MB / 0.4949 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.009611/1.491, allocations: 3.113 MB / 1.001 GB, free: 80 kB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004927/1.492, allocations: 0.5314 MB / 1.002 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/1.492, allocations: 12 kB / 1.002 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007485/1.492, allocations: 197.2 kB / 1.002 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004903/1.497, allocations: 0.5593 MB / 1.003 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/1.5, allocations: 2.338 MB / 1.005 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004028/1.504, allocations: 204 kB / 1.005 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007647/1.504, allocations: 190.4 kB / 1.005 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/1.504, allocations: 4 kB / 1.005 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00869/1.513, allocations: 2.85 MB / 1.008 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.084e-05/1.513, allocations: 12.62 kB / 1.008 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006572/1.514, allocations: 194.8 kB / 1.008 GB, free: 9.891 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004726/1.519, allocations: 0.5491 MB / 1.009 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/1.521, allocations: 2.341 MB / 1.011 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003772/1.525, allocations: 204.7 kB / 1.011 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000792/1.526, allocations: 191.2 kB / 1.012 GB, free: 6.703 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (259): * Single equations (assignments): 253 * 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.002296/1.528, allocations: 0.6923 MB / 1.012 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007217/1.529, allocations: 215.5 kB / 1.012 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/1.542, allocations: 3.489 MB / 1.016 GB, free: 3.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007766/1.55, allocations: 2.716 MB / 1.018 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/1.55, allocations: 0 / 1.018 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002074/1.552, allocations: 0.5266 MB / 1.019 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009062/1.553, allocations: 55.58 kB / 1.019 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00291/1.556, allocations: 126.6 kB / 1.019 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006521/1.556, allocations: 163.3 kB / 1.019 GB, free: 0.6875 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.011/1.567, allocations: 3.018 MB / 1.022 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01241/1.58, allocations: 4.227 MB / 1.026 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003411/1.583, allocations: 1.244 MB / 1.028 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002294/1.586, allocations: 0.9778 MB / 1.029 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of Backend: time 1.152e-06/1.586, allocations: 0 / 1.029 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.019/1.605, allocations: 4.986 MB / 1.033 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of SimCode: time 0.01559/1.62, allocations: 5.715 MB / 1.039 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of Templates: time 0.4732/2.094, allocations: 67.05 MB / 1.104 GB, free: 286.4 MB / 0.5886 GB