Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.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.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.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002576/0.002582, allocations: 348.1 kB / 15.95 MB, free: 6.219 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.348/3.348, 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.003512/0.003511, allocations: 224.6 kB / 397.9 MB, free: 4.977 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.6521/0.6521, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004655, allocations: 20 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07974/0.08024, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17): time 0.9681/1.048, allocations: 239.3 MB / 0.8405 GB, free: 2.914 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03986/1.088, allocations: 18.56 MB / 0.8586 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005287/1.094, allocations: 111.3 kB / 0.8587 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005454/1.099, allocations: 0.8626 MB / 0.8595 GB, free: 224 kB / 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.02579/1.125, allocations: 4.735 MB / 0.8642 GB, free: 14.52 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02912/1.154, allocations: 5.323 MB / 0.8694 GB, free: 11.4 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01402/1.168, allocations: 8.443 MB / 0.8776 GB, free: 4.879 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003488/1.172, allocations: 1.318 MB / 0.8789 GB, free: 3.562 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006583/1.178, allocations: 2.245 MB / 0.8811 GB, free: 1.398 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006699/1.185, allocations: 2.534 MB / 0.8836 GB, free: 15.08 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001033/1.186, allocations: 112 kB / 0.8837 GB, free: 14.97 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01311/1.199, allocations: 3.602 MB / 0.8872 GB, free: 11.45 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002033/1.201, allocations: 0.8254 MB / 0.888 GB, free: 10.64 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001445/1.203, allocations: 0.4926 MB / 0.8885 GB, free: 10.14 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01088/1.214, allocations: 4.168 MB / 0.8925 GB, free: 6.23 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.214, allocations: 0 / 0.8925 GB, free: 6.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.384e-06/1.214, allocations: 0 / 0.8925 GB, free: 6.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001131/1.214, allocations: 8 kB / 0.8925 GB, free: 6.223 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.01166/1.226, allocations: 3.084 MB / 0.8956 GB, free: 3.113 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/1.226, allocations: 12.03 kB / 0.8956 GB, free: 3.102 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004189/1.23, allocations: 447.7 kB / 0.896 GB, free: 2.664 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006092/1.236, allocations: 1.927 MB / 0.8979 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002013/1.236, allocations: 134.2 kB / 0.898 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006458/1.237, allocations: 174.2 kB / 0.8982 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007811/1.245, allocations: 2.626 MB / 0.9007 GB, free: 13.81 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.299e-05/1.245, allocations: 7.984 kB / 0.9007 GB, free: 13.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003611/1.245, allocations: 74.86 kB / 0.9008 GB, free: 13.74 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004639/1.246, allocations: 191.1 kB / 0.901 GB, free: 13.55 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007416/1.253, allocations: 2.304 MB / 0.9033 GB, free: 11.25 MB / 458.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.02606/1.279, allocations: 11.27 MB / 0.9143 GB, free: 15.31 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00566/1.285, allocations: 1.833 MB / 0.9161 GB, free: 13.43 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003171/1.288, allocations: 1.082 MB / 0.9171 GB, free: 12.35 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004369/1.293, allocations: 2.425 MB / 0.9195 GB, free: 9.539 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003613/1.296, allocations: 1.196 MB / 0.9206 GB, free: 8.328 MB / 474.7 MB Notification: Performance of pre-optimization done (n=168): time 7.164e-06/1.296, allocations: 4 kB / 0.9206 GB, free: 8.324 MB / 474.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 5: junctionVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=196): time 0.05403/1.35, allocations: 11.71 MB / 0.9321 GB, free: 12.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/1.351, allocations: 192.2 kB / 0.9323 GB, free: 12.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003158/1.354, allocations: 1.54 MB / 0.9338 GB, free: 10.67 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005512/1.354, allocations: 61.7 kB / 0.9338 GB, free: 10.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001206/1.356, allocations: 0.9387 MB / 0.9347 GB, free: 9.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001231/1.357, allocations: 0.669 MB / 0.9354 GB, free: 8.996 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002711/1.357, allocations: 44 kB / 0.9354 GB, free: 8.953 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002632/1.357, allocations: 394.5 kB / 0.9358 GB, free: 8.562 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003621/1.361, allocations: 1.059 MB / 0.9368 GB, free: 7.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004336/1.365, allocations: 1.601 MB / 0.9384 GB, free: 5.691 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004279/1.37, allocations: 1.352 MB / 0.9397 GB, free: 4.324 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.939e-05/1.37, allocations: 8 kB / 0.9397 GB, free: 4.316 MB / 490.7 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.01121/1.381, allocations: 3.372 MB / 0.943 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005409/1.382, allocations: 0.5793 MB / 0.9436 GB, free: 124 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.053e-05/1.382, allocations: 20 kB / 0.9436 GB, free: 104 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2733/1.655, allocations: 299.7 kB / 0.9439 GB, free: 202.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004861/1.66, allocations: 0.585 MB / 0.9445 GB, free: 202.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/1.663, allocations: 3.016 MB / 0.9474 GB, free: 199.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004044/1.667, allocations: 212.2 kB / 0.9476 GB, free: 199.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008311/1.668, allocations: 205.9 kB / 0.9478 GB, free: 199.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/1.668, allocations: 4.25 kB / 0.9478 GB, free: 199.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01085/1.678, allocations: 3.085 MB / 0.9508 GB, free: 199.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-05/1.679, allocations: 17.17 kB / 0.9509 GB, free: 199.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/1.68, allocations: 308.6 kB / 0.9511 GB, free: 199.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004742/1.685, allocations: 0.5835 MB / 0.9517 GB, free: 199.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/1.687, allocations: 3.019 MB / 0.9547 GB, free: 197 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003779/1.691, allocations: 206.9 kB / 0.9549 GB, free: 197 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006644/1.692, allocations: 205.5 kB / 0.9551 GB, free: 197 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent) * 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.001988/1.694, allocations: 0.7114 MB / 0.9558 GB, free: 196.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006537/1.694, allocations: 213.3 kB / 0.956 GB, free: 196.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01308/1.707, allocations: 3.767 MB / 0.9596 GB, free: 195.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00811/1.716, allocations: 2.916 MB / 0.9625 GB, free: 194.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.249e-05/1.716, allocations: 0 / 0.9625 GB, free: 194.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002215/1.718, allocations: 0.5497 MB / 0.963 GB, free: 194.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001018/1.719, allocations: 53.14 kB / 0.9631 GB, free: 194.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002892/1.722, allocations: 133.3 kB / 0.9632 GB, free: 194.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006671/1.723, allocations: 163.3 kB / 0.9634 GB, free: 194.1 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0117/1.734, allocations: 3.254 MB / 0.9665 GB, free: 192.9 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01219/1.747, allocations: 4.419 MB / 0.9708 GB, free: 191.1 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003467/1.75, allocations: 1.262 MB / 0.9721 GB, free: 190.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002243/1.752, allocations: 1.012 MB / 0.9731 GB, free: 190.3 MB / 490.7 MB Notification: Performance of Backend: time 1.163e-06/1.752, allocations: 0 / 0.9731 GB, free: 190.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01807/1.771, allocations: 5.209 MB / 0.9782 GB, free: 188.8 MB / 490.7 MB Notification: Performance of SimCode: time 0.01415/1.785, allocations: 6.077 MB / 0.9841 GB, free: 185.5 MB / 490.7 MB Notification: Performance of Templates: time 0.1568/1.942, allocations: 72.37 MB / 1.055 GB, free: 115.3 MB / 490.7 MB