Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.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.BranchingPipes17,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|junctionVolume.medium.T|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.BranchingPipes17") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002746/0.002749, allocations: 367.4 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.825/3.825, 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.003487/0.003487, allocations: 235.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.494/0.494, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006574/0.0006578, allocations: 19.97 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09249/0.09319, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17): time 1.04/1.133, allocations: 239.4 MB / 0.9139 GB, free: 7.191 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.03986/1.173, allocations: 18.56 MB / 0.932 GB, free: 6.93 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003668/1.177, allocations: 110.5 kB / 0.9321 GB, free: 6.93 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003956/1.181, allocations: 0.8575 MB / 0.933 GB, free: 6.914 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.01905/1.2, allocations: 4.744 MB / 0.9376 GB, free: 6.684 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02123/1.221, allocations: 5.33 MB / 0.9428 GB, free: 6.508 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.01273/1.234, allocations: 8.456 MB / 0.951 GB, free: 5.559 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003358/1.237, allocations: 1.336 MB / 0.9524 GB, free: 5.008 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006458/1.244, allocations: 2.252 MB / 0.9546 GB, free: 4.645 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006502/1.25, allocations: 2.541 MB / 0.957 GB, free: 4.098 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001058/1.251, allocations: 111.9 kB / 0.9571 GB, free: 4.098 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01256/1.264, allocations: 3.592 MB / 0.9606 GB, free: 3.328 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002127/1.266, allocations: 0.8396 MB / 0.9615 GB, free: 3.043 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001548/1.268, allocations: 499.7 kB / 0.9619 GB, free: 3.012 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009904/1.278, allocations: 4.177 MB / 0.966 GB, free: 1.137 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.278, allocations: 4 kB / 0.966 GB, free: 1.133 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.955e-06/1.278, allocations: 0 / 0.966 GB, free: 1.133 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001136/1.278, allocations: 0 / 0.966 GB, free: 1.133 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.01158/1.29, allocations: 3.119 MB / 0.9691 GB, free: 15.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/1.29, allocations: 10.12 kB / 0.9691 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004243/1.294, allocations: 456.8 kB / 0.9695 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005884/1.3, allocations: 1.92 MB / 0.9714 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/1.3, allocations: 143.1 kB / 0.9715 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006259/1.301, allocations: 185.7 kB / 0.9717 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007606/1.308, allocations: 2.634 MB / 0.9743 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.409e-05/1.308, allocations: 14.47 kB / 0.9743 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003644/1.309, allocations: 71.08 kB / 0.9744 GB, free: 12.28 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004298/1.309, allocations: 186.8 kB / 0.9745 GB, free: 12.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007483/1.317, allocations: 2.314 MB / 0.9768 GB, free: 10.57 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.02692/1.344, allocations: 11.29 MB / 0.9878 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005651/1.349, allocations: 1.843 MB / 0.9896 GB, free: 15.15 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003229/1.353, allocations: 1.1 MB / 0.9907 GB, free: 14.45 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004263/1.357, allocations: 2.435 MB / 0.9931 GB, free: 11.75 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003617/1.361, allocations: 1.212 MB / 0.9943 GB, free: 10.86 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=172): time 7.003e-06/1.361, allocations: 0 / 0.9943 GB, free: 10.86 MB / 0.4949 GB 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 5: junctionVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=200): time 0.05671/1.417, allocations: 11.72 MB / 1.006 GB, free: 1.648 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/1.418, allocations: 187.5 kB / 1.006 GB, free: 1.434 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00329/1.421, allocations: 1.552 MB / 1.007 GB, free: 268 kB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0006044/1.422, allocations: 58.7 kB / 1.007 GB, free: 228 kB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.001195/1.423, allocations: 0.947 MB / 1.008 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001396/1.424, allocations: 0.6784 MB / 1.009 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003419/1.425, allocations: 45.25 kB / 1.009 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002875/1.425, allocations: 401.5 kB / 1.009 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003676/1.429, allocations: 1.068 MB / 1.011 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00439/1.433, allocations: 1.619 MB / 1.012 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004312/1.437, allocations: 1.365 MB / 1.013 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.142e-05/1.437, allocations: 4 kB / 1.013 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=297) (initialization): time 0.01203/1.45, allocations: 3.341 MB / 1.017 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005167/1.45, allocations: 0.573 MB / 1.017 GB, free: 8.586 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-05/1.45, allocations: 16 kB / 1.017 GB, free: 8.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/1.452, allocations: 304.7 kB / 1.018 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005192/1.457, allocations: 0.5889 MB / 1.018 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003214/1.46, allocations: 3.016 MB / 1.021 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004384/1.464, allocations: 218.2 kB / 1.021 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000976/1.465, allocations: 212.8 kB / 1.021 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.466, allocations: 7.594 kB / 1.021 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01035/1.476, allocations: 3.08 MB / 1.024 GB, free: 2.324 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.352e-05/1.476, allocations: 12 kB / 1.025 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/1.477, allocations: 312 kB / 1.025 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004965/1.482, allocations: 0.5746 MB / 1.025 GB, free: 1.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/1.485, allocations: 3.015 MB / 1.028 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003989/1.489, allocations: 213.4 kB / 1.029 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008695/1.49, allocations: 200.8 kB / 1.029 GB, free: 14.18 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (274): * Single equations (assignments): 267 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.002373/1.493, allocations: 0.7178 MB / 1.029 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007847/1.494, allocations: 225.3 kB / 1.03 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01425/1.508, allocations: 3.738 MB / 1.033 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008148/1.516, allocations: 2.907 MB / 1.036 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/1.516, allocations: 3.953 kB / 1.036 GB, free: 8.527 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002109/1.518, allocations: 0.5555 MB / 1.037 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009203/1.519, allocations: 55.42 kB / 1.037 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002911/1.522, allocations: 134.9 kB / 1.037 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005986/1.523, allocations: 164.9 kB / 1.037 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01222/1.535, allocations: 3.246 MB / 1.04 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01266/1.548, allocations: 4.439 MB / 1.045 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003467/1.551, allocations: 1.309 MB / 1.046 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002241/1.554, allocations: 1.014 MB / 1.047 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of Backend: time 1.002e-06/1.554, allocations: 1.969 kB / 1.047 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01942/1.573, allocations: 5.313 MB / 1.052 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of SimCode: time 0.0159/1.589, allocations: 6.116 MB / 1.058 GB, free: 6.871 MB / 0.5417 GB Notification: Performance of Templates: time 0.4881/2.077, allocations: 72.7 MB / 1.129 GB, free: 281.1 MB / 0.5886 GB