Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17") 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_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001119/0.001119, allocations: 112.8 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00122/0.001219, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1973/0.1973, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 79.86 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2813, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17): time 0.5081/0.7895, allocations: 246.6 MB / 0.7724 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02245/0.812, allocations: 16.93 MB / 0.789 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002699/0.8147, allocations: 95.31 kB / 0.7891 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00235/0.8171, allocations: 0.9935 MB / 0.79 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009991/0.8271, allocations: 4.361 MB / 0.7943 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01095/0.8381, allocations: 5.365 MB / 0.7995 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007542/0.8456, allocations: 6.999 MB / 0.8064 GB, free: 304 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002649/0.8483, allocations: 1.653 MB / 0.808 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004762/0.8531, allocations: 2.748 MB / 0.8107 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004061/0.8571, allocations: 2.574 MB / 0.8132 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007093/0.8579, allocations: 237.6 kB / 0.8134 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007634/0.8655, allocations: 3.672 MB / 0.817 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001291/0.8668, allocations: 0.9562 MB / 0.8179 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002388/0.8692, allocations: 1.379 MB / 0.8193 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01136/0.8806, allocations: 5.522 MB / 0.8247 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.8806, allocations: 0 / 0.8247 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.233e-06/0.8806, allocations: 0 / 0.8247 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001019/0.8807, allocations: 0 / 0.8247 GB, free: 3.727 MB / 0.5762 GB 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.009467/0.8902, allocations: 3.467 MB / 0.8281 GB, free: 256 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.8903, allocations: 8.031 kB / 0.8281 GB, free: 248 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003059/0.8934, allocations: 452.6 kB / 0.8285 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00404/0.8974, allocations: 2.118 MB / 0.8306 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.8976, allocations: 140.2 kB / 0.8307 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004197/0.898, allocations: 174.5 kB / 0.8309 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004405/0.9024, allocations: 2.684 MB / 0.8335 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-05/0.9025, allocations: 6.531 kB / 0.8335 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002459/0.9027, allocations: 75.64 kB / 0.8336 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000232/0.903, allocations: 193.7 kB / 0.8337 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004009/0.907, allocations: 2.339 MB / 0.836 GB, free: 8.184 MB / 0.5919 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.01455/0.9215, allocations: 11.29 MB / 0.8471 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003075/0.9246, allocations: 1.846 MB / 0.8489 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001625/0.9263, allocations: 1.111 MB / 0.8499 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008214/0.9271, allocations: 0.508 MB / 0.8504 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002062/0.9292, allocations: 1.347 MB / 0.8518 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=172): time 3.827e-06/0.9292, allocations: 0 / 0.8518 GB, free: 7.316 MB / 0.6075 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.03014/0.9594, allocations: 11.84 MB / 0.8633 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.9595, allocations: 287 kB / 0.8636 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00242/0.9619, allocations: 1.658 MB / 0.8652 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002968/0.9623, allocations: 65.7 kB / 0.8653 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007789/0.963, allocations: 0.9263 MB / 0.8662 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.00067/0.9637, allocations: 0.6717 MB / 0.8668 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009716/0.9647, allocations: 0.5079 MB / 0.8673 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.9648, allocations: 309 kB / 0.8676 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001957/0.9668, allocations: 1.115 MB / 0.8687 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/0.9693, allocations: 1.657 MB / 0.8703 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004455/0.9738, allocations: 2.919 MB / 0.8732 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-05/0.9738, allocations: 3.938 kB / 0.8732 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.00721/0.981, allocations: 3.477 MB / 0.8766 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.266e-05/0.9812, allocations: 71.39 kB / 0.8767 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.091e-05/0.9812, allocations: 16.62 kB / 0.8767 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009325/0.9822, allocations: 306.6 kB / 0.877 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002638/0.9848, allocations: 0.5842 MB / 0.8775 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.9869, allocations: 3.008 MB / 0.8805 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/0.9892, allocations: 116.2 kB / 0.8806 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005389/0.9897, allocations: 211.9 kB / 0.8808 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002858/0.9926, allocations: 1.476 MB / 0.8822 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002362/0.995, allocations: 1.576 MB / 0.8838 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004146/0.9991, allocations: 2.773 MB / 0.8865 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.096e-05/0.9991, allocations: 4 kB / 0.8865 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of matching and sorting (n=291) (initialization_lambda0): time 0.005873/1.005, allocations: 3.302 MB / 0.8897 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.513e-05/1.005, allocations: 75.39 kB / 0.8898 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/1.005, allocations: 18.47 kB / 0.8898 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007584/1.006, allocations: 308.7 kB / 0.8901 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002374/1.008, allocations: 0.5725 MB / 0.8906 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/1.01, allocations: 3.015 MB / 0.8936 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/1.012, allocations: 120.1 kB / 0.8937 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003854/1.013, allocations: 208 kB / 0.8939 GB, free: 11.01 MB / 0.6544 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 (valveOpening2.nextEventScaled,valveOpening2.nextEvent,$PRE.valveOpening2.nextEvent,valveOpening2.last,valveOpening2.b,valveOpening2.a,valveOpening1.nextEventScaled,valveOpening1.nextEvent,$PRE.valveOpening1.nextEvent,valveOpening1.last,valveOpening1.b,valveOpening1.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (270): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,1), (1,1), (1,1), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0007937/1.014, allocations: 393.3 kB / 0.8943 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005936/1.014, allocations: 225.3 kB / 0.8945 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00849/1.023, allocations: 4.804 MB / 0.8992 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004686/1.027, allocations: 3.002 MB / 0.9021 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/1.027, allocations: 4 kB / 0.9021 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.029, allocations: 0.5566 MB / 0.9027 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005534/1.029, allocations: 55.92 kB / 0.9027 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/1.031, allocations: 79.88 kB / 0.9028 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003436/1.031, allocations: 172.3 kB / 0.903 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006809/1.038, allocations: 3.327 MB / 0.9062 GB, free: 14.26 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00722/1.045, allocations: 4.576 MB / 0.9107 GB, free: 9.656 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001935/1.047, allocations: 1.316 MB / 0.912 GB, free: 8.34 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00179/1.049, allocations: 1.106 MB / 0.913 GB, free: 7.211 MB / 0.67 GB Notification: Performance of Backend: time 3.81e-07/1.049, allocations: 4 kB / 0.913 GB, free: 7.207 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01246/1.061, allocations: 5.038 MB / 0.918 GB, free: 2.32 MB / 0.67 GB Notification: Performance of SimCode: time 0.009655/1.071, allocations: 5.459 MB / 0.9233 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of Templates: time 0.3294/1.4, allocations: 79.4 MB / 1.001 GB, free: 359.4 MB / 0.7481 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe 2>&1)