Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.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.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.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003669/0.003674, allocations: 349.5 kB / 15.95 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.527/3.527, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.003582/0.003582, allocations: 225.2 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.456/0.456, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000475/0.0004752, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0818/0.0823, allocations: 48.71 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15): time 0.9665/1.049, allocations: 229.1 MB / 0.8305 GB, free: 3.832 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.04266/1.092, allocations: 18.22 MB / 0.8482 GB, free: 1.594 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003765/1.095, allocations: 107.2 kB / 0.8483 GB, free: 1.594 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00389/1.099, allocations: 0.8038 MB / 0.8491 GB, free: 1.305 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.0181/1.118, allocations: 4.304 MB / 0.8533 GB, free: 140 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02163/1.139, allocations: 5.217 MB / 0.8584 GB, free: 14.68 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01324/1.152, allocations: 7.953 MB / 0.8662 GB, free: 9.758 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003516/1.156, allocations: 1.24 MB / 0.8674 GB, free: 8.812 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006554/1.163, allocations: 2.112 MB / 0.8695 GB, free: 7.414 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006687/1.169, allocations: 2.411 MB / 0.8718 GB, free: 5.652 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001185/1.171, allocations: 104 kB / 0.8719 GB, free: 5.551 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01211/1.183, allocations: 3.329 MB / 0.8752 GB, free: 2.922 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002123/1.185, allocations: 0.8047 MB / 0.876 GB, free: 2.289 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001522/1.186, allocations: 471.8 kB / 0.8764 GB, free: 1.945 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01159/1.198, allocations: 3.911 MB / 0.8802 GB, free: 14.63 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/1.198, allocations: 0 / 0.8802 GB, free: 14.63 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.567e-06/1.198, allocations: 0 / 0.8802 GB, free: 14.63 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001235/1.198, allocations: 0 / 0.8802 GB, free: 14.63 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: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.015/1.213, allocations: 2.951 MB / 0.8831 GB, free: 11.83 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/1.213, allocations: 8.031 kB / 0.8831 GB, free: 11.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00409/1.218, allocations: 440.5 kB / 0.8835 GB, free: 11.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005995/1.224, allocations: 1.861 MB / 0.8854 GB, free: 9.988 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/1.224, allocations: 125.1 kB / 0.8855 GB, free: 9.918 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007499/1.225, allocations: 165.6 kB / 0.8856 GB, free: 9.812 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007217/1.232, allocations: 2.511 MB / 0.8881 GB, free: 7.621 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.961e-05/1.232, allocations: 3.938 kB / 0.8881 GB, free: 7.617 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003596/1.232, allocations: 78.2 kB / 0.8882 GB, free: 7.551 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004398/1.233, allocations: 190.8 kB / 0.8883 GB, free: 7.363 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007617/1.24, allocations: 2.216 MB / 0.8905 GB, free: 5.145 MB / 442.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.03467/1.275, allocations: 10.7 MB / 0.901 GB, free: 9.805 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008257/1.283, allocations: 1.783 MB / 0.9027 GB, free: 7.973 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004757/1.288, allocations: 1.011 MB / 0.9037 GB, free: 6.965 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006305/1.295, allocations: 2.436 MB / 0.9061 GB, free: 4.152 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005087/1.3, allocations: 1.143 MB / 0.9072 GB, free: 2.984 MB / 458.7 MB Notification: Performance of pre-optimization done (n=158): time 1.004e-05/1.3, allocations: 3.938 kB / 0.9072 GB, free: 2.98 MB / 458.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=181): time 0.0742/1.374, allocations: 10.51 MB / 0.9175 GB, free: 8.297 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/1.374, allocations: 176.2 kB / 0.9176 GB, free: 8.086 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004835/1.379, allocations: 1.478 MB / 0.9191 GB, free: 6.605 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007083/1.38, allocations: 69.7 kB / 0.9191 GB, free: 6.531 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001784/1.382, allocations: 0.8872 MB / 0.92 GB, free: 5.637 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001631/1.383, allocations: 0.6141 MB / 0.9206 GB, free: 5.027 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004366/1.384, allocations: 40 kB / 0.9206 GB, free: 4.988 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004314/1.384, allocations: 390.2 kB / 0.921 GB, free: 4.602 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00511/1.389, allocations: 1.007 MB / 0.922 GB, free: 3.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003871/1.393, allocations: 1.506 MB / 0.9235 GB, free: 1.891 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003823/1.397, allocations: 1.29 MB / 0.9247 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/1.397, allocations: 4 kB / 0.9247 GB, free: 0.582 MB / 474.7 MB Notification: Performance of matching and sorting (n=271) (initialization): time 0.009834/1.407, allocations: 3.119 MB / 0.9278 GB, free: 13.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005121/1.408, allocations: 0.5346 MB / 0.9283 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.978e-05/1.408, allocations: 12 kB / 0.9283 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008625/1.409, allocations: 195.3 kB / 0.9285 GB, free: 12.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004977/1.414, allocations: 0.5617 MB / 0.929 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/1.416, allocations: 2.342 MB / 0.9313 GB, free: 9.484 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003821/1.42, allocations: 203.8 kB / 0.9315 GB, free: 9.285 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005375/1.42, allocations: 192 kB / 0.9317 GB, free: 9.098 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/1.42, allocations: 4 kB / 0.9317 GB, free: 9.094 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008375/1.429, allocations: 2.85 MB / 0.9345 GB, free: 6.219 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-05/1.429, allocations: 12 kB / 0.9345 GB, free: 6.207 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006905/1.43, allocations: 199.3 kB / 0.9347 GB, free: 6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004585/1.434, allocations: 0.554 MB / 0.9352 GB, free: 5.445 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/1.436, allocations: 2.327 MB / 0.9375 GB, free: 3.016 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003562/1.44, allocations: 211.8 kB / 0.9377 GB, free: 2.809 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005397/1.44, allocations: 187.9 kB / 0.9379 GB, free: 2.625 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (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.001783/1.442, allocations: 0.6853 MB / 0.9386 GB, free: 1.918 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005901/1.443, allocations: 205.5 kB / 0.9388 GB, free: 1.715 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01169/1.454, allocations: 3.497 MB / 0.9422 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006852/1.461, allocations: 2.72 MB / 0.9448 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/1.461, allocations: 11.94 kB / 0.9448 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/1.463, allocations: 0.5217 MB / 0.9453 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006794/1.464, allocations: 43.98 kB / 0.9454 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002239/1.466, allocations: 123.7 kB / 0.9455 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004173/1.467, allocations: 153.8 kB / 0.9457 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01024/1.477, allocations: 3.024 MB / 0.9486 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01096/1.488, allocations: 4.215 MB / 0.9527 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002981/1.491, allocations: 1.191 MB / 0.9539 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002182/1.493, allocations: 0.9801 MB / 0.9548 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of Backend: time 5.61e-07/1.493, allocations: 0 / 0.9548 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.2831/1.776, allocations: 4.847 MB / 0.9596 GB, free: 217.9 MB / 0.4948 GB Notification: Performance of SimCode: time 0.0141/1.79, allocations: 5.707 MB / 0.9652 GB, free: 215.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.1539/1.944, allocations: 66.7 MB / 1.03 GB, free: 168.9 MB / 0.4948 GB