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.001262/0.001263, allocations: 112.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00118/0.001181, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, 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.2166/0.2166, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 67.89 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3495, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17): time 0.5784/0.9279, allocations: 246.6 MB / 0.7724 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02503/0.953, allocations: 16.95 MB / 0.789 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004491/0.9575, allocations: 95.91 kB / 0.7891 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002976/0.9605, allocations: 0.9919 MB / 0.79 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01201/0.9726, allocations: 4.409 MB / 0.7944 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0139/0.9865, allocations: 5.377 MB / 0.7996 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01007/0.9966, allocations: 7.005 MB / 0.8064 GB, free: 284 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003488/1, allocations: 1.664 MB / 0.8081 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006444/1.007, allocations: 2.764 MB / 0.8108 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004884/1.012, allocations: 2.583 MB / 0.8133 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009482/1.012, allocations: 234 kB / 0.8135 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009324/1.022, allocations: 3.671 MB / 0.8171 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001702/1.024, allocations: 0.9552 MB / 0.818 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00338/1.027, allocations: 1.376 MB / 0.8194 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01236/1.039, allocations: 5.523 MB / 0.8248 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.039, allocations: 0 / 0.8248 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/1.039, allocations: 0 / 0.8248 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001264/1.04, allocations: 4 kB / 0.8248 GB, free: 3.637 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.009611/1.049, allocations: 3.463 MB / 0.8282 GB, free: 164 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/1.049, allocations: 14.66 kB / 0.8282 GB, free: 152 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003298/1.052, allocations: 452.6 kB / 0.8286 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005322/1.058, allocations: 2.119 MB / 0.8307 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/1.058, allocations: 138.3 kB / 0.8308 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006565/1.059, allocations: 171.7 kB / 0.831 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006223/1.065, allocations: 2.681 MB / 0.8336 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.151e-05/1.065, allocations: 6.531 kB / 0.8336 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004253/1.065, allocations: 74.62 kB / 0.8337 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003453/1.066, allocations: 193.7 kB / 0.8338 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004973/1.071, allocations: 2.341 MB / 0.8361 GB, free: 8.098 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.01884/1.09, allocations: 11.29 MB / 0.8472 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003433/1.093, allocations: 1.843 MB / 0.849 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001861/1.095, allocations: 1.111 MB / 0.85 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/1.096, allocations: 0.5082 MB / 0.8505 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002573/1.099, allocations: 1.345 MB / 0.8519 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=172): time 5.169e-06/1.099, allocations: 0 / 0.8519 GB, free: 7.227 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.03407/1.133, allocations: 11.83 MB / 0.8634 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/1.133, allocations: 287 kB / 0.8637 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002806/1.136, allocations: 1.654 MB / 0.8653 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003808/1.136, allocations: 65.7 kB / 0.8654 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009273/1.137, allocations: 0.9299 MB / 0.8663 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007975/1.138, allocations: 0.672 MB / 0.8669 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001238/1.139, allocations: 0.504 MB / 0.8674 GB, free: 7 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001017/1.139, allocations: 305.1 kB / 0.8677 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002209/1.141, allocations: 1.115 MB / 0.8688 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002727/1.144, allocations: 1.659 MB / 0.8704 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004746/1.149, allocations: 2.922 MB / 0.8733 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.95e-05/1.149, allocations: 7.938 kB / 0.8733 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.007011/1.156, allocations: 3.472 MB / 0.8767 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.509e-05/1.156, allocations: 75.39 kB / 0.8767 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.49e-05/1.156, allocations: 12.62 kB / 0.8768 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008822/1.157, allocations: 315.2 kB / 0.8771 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002514/1.16, allocations: 0.5804 MB / 0.8776 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/1.162, allocations: 3.011 MB / 0.8806 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/1.164, allocations: 120.2 kB / 0.8807 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004843/1.165, allocations: 207.9 kB / 0.8809 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00295/1.168, allocations: 1.476 MB / 0.8823 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002449/1.17, allocations: 1.576 MB / 0.8839 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004412/1.174, allocations: 2.771 MB / 0.8866 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.486e-05/1.174, allocations: 4 kB / 0.8866 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of matching and sorting (n=291) (initialization_lambda0): time 0.006622/1.181, allocations: 3.312 MB / 0.8898 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.634e-05/1.181, allocations: 71.39 kB / 0.8899 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.64e-05/1.181, allocations: 19.94 kB / 0.8899 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008212/1.182, allocations: 318.8 kB / 0.8902 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002389/1.184, allocations: 0.5686 MB / 0.8907 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/1.187, allocations: 3.009 MB / 0.8937 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/1.189, allocations: 116.1 kB / 0.8938 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004385/1.189, allocations: 212 kB / 0.894 GB, free: 10.92 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.0008936/1.19, allocations: 386.7 kB / 0.8944 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006458/1.191, allocations: 229.3 kB / 0.8946 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009063/1.2, allocations: 4.797 MB / 0.8993 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004844/1.205, allocations: 3.006 MB / 0.9022 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.205, allocations: 4 kB / 0.9022 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/1.206, allocations: 0.5527 MB / 0.9028 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005825/1.207, allocations: 51.98 kB / 0.9028 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/1.208, allocations: 87.77 kB / 0.9029 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000358/1.209, allocations: 169.8 kB / 0.903 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007239/1.216, allocations: 3.33 MB / 0.9063 GB, free: 14.18 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007454/1.223, allocations: 4.572 MB / 0.9108 GB, free: 9.578 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002007/1.225, allocations: 1.32 MB / 0.9121 GB, free: 8.258 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001798/1.227, allocations: 1.106 MB / 0.9131 GB, free: 7.129 MB / 0.67 GB Notification: Performance of Backend: time 8.71e-07/1.227, allocations: 4 kB / 0.9131 GB, free: 7.125 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01318/1.241, allocations: 5.031 MB / 0.918 GB, free: 2.238 MB / 0.67 GB Notification: Performance of SimCode: time 0.0102/1.251, allocations: 5.467 MB / 0.9234 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of Templates: time 0.348/1.599, allocations: 78.13 MB / 0.9997 GB, free: 358.7 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)