Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") 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_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002122/0.002122, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.594/1.594, allocations: 226.5 MB / 245.4 MB, free: 6.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000768/0.000768, allocations: 100.8 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3445/0.3445, allocations: 44.82 MB / 394.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004439/0.000444, allocations: 8 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3298, allocations: 62.96 MB / 0.5184 GB, free: 37.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9979/1.328, allocations: 0.5626 GB / 1.081 GB, free: 24.07 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/1.328, allocations: 84.95 kB / 1.081 GB, free: 24.04 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.804/3.132, allocations: 0.5055 GB / 1.587 GB, free: 48.09 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.505e-06/3.132, allocations: 0 / 1.587 GB, free: 48.09 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002534/3.133, allocations: 64.78 kB / 1.587 GB, free: 48.08 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.009546/3.142, allocations: 3.091 MB / 1.59 GB, free: 46.84 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/3.142, allocations: 11.19 kB / 1.59 GB, free: 46.84 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003119/3.145, allocations: 445.3 kB / 1.59 GB, free: 46.71 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007175/3.152, allocations: 3.349 MB / 1.593 GB, free: 46.24 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/3.153, allocations: 132.6 kB / 1.594 GB, free: 46.23 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006041/3.153, allocations: 171.5 kB / 1.594 GB, free: 46.23 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004492/3.158, allocations: 2.655 MB / 1.596 GB, free: 45.8 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-05/3.158, allocations: 12.78 kB / 1.596 GB, free: 45.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002926/3.158, allocations: 73.77 kB / 1.596 GB, free: 45.8 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001645/3.158, allocations: 150.6 kB / 1.597 GB, free: 45.79 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003526/3.162, allocations: 2.267 MB / 1.599 GB, free: 45.78 MB / 0.5417 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.01242/3.174, allocations: 11.09 MB / 1.61 GB, free: 39.78 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/3.177, allocations: 1.814 MB / 1.611 GB, free: 39.47 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/3.178, allocations: 1.079 MB / 1.612 GB, free: 39.46 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006981/3.179, allocations: 0.5068 MB / 1.613 GB, free: 38.99 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001668/3.18, allocations: 1.319 MB / 1.614 GB, free: 38.82 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=162): time 4.459e-06/3.181, allocations: 3.938 kB / 1.614 GB, free: 38.82 MB / 0.5417 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 Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=185): time 0.02277/3.203, allocations: 10.91 MB / 1.625 GB, free: 37.23 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.55e-05/3.203, allocations: 363 kB / 1.625 GB, free: 36.82 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/3.205, allocations: 1.602 MB / 1.627 GB, free: 36.64 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002355/3.206, allocations: 67.91 kB / 1.627 GB, free: 36.61 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005877/3.206, allocations: 0.8618 MB / 1.628 GB, free: 36.31 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004237/3.207, allocations: 0.6224 MB / 1.628 GB, free: 35.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/3.207, allocations: 40.19 kB / 1.628 GB, free: 35.91 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001095/3.207, allocations: 391.3 kB / 1.629 GB, free: 35.61 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/3.209, allocations: 1.042 MB / 1.63 GB, free: 35.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/3.21, allocations: 1.503 MB / 1.631 GB, free: 35.18 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003358/3.214, allocations: 2.661 MB / 1.634 GB, free: 34.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/3.214, allocations: 3.5 kB / 1.634 GB, free: 34.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.004737/3.219, allocations: 3.173 MB / 1.637 GB, free: 34.41 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001702/3.219, allocations: 431.2 kB / 1.637 GB, free: 33.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/3.219, allocations: 11.34 kB / 1.637 GB, free: 33.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003812/3.219, allocations: 197.9 kB / 1.637 GB, free: 33.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/3.221, allocations: 0.5403 MB / 1.638 GB, free: 33.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009802/3.222, allocations: 2.324 MB / 1.64 GB, free: 31.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/3.225, allocations: 222.5 kB / 1.64 GB, free: 31.81 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003311/3.225, allocations: 189.1 kB / 1.641 GB, free: 31.81 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/3.225, allocations: 6 kB / 1.641 GB, free: 31.81 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004395/3.229, allocations: 2.897 MB / 1.644 GB, free: 31.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/3.229, allocations: 6.875 kB / 1.644 GB, free: 31.67 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003265/3.23, allocations: 190.3 kB / 1.644 GB, free: 31.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/3.232, allocations: 0.5364 MB / 1.644 GB, free: 31.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009746/3.233, allocations: 2.332 MB / 1.647 GB, free: 29.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/3.235, allocations: 206.5 kB / 1.647 GB, free: 29.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002959/3.235, allocations: 190.1 kB / 1.647 GB, free: 29.55 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (246): * Single equations (assignments): 240 * 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.001286/3.236, allocations: 0.6908 MB / 1.648 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004997/3.237, allocations: 217 kB / 1.648 GB, free: 29.18 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007359/3.244, allocations: 4.659 MB / 1.652 GB, free: 28.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/3.244, allocations: 20.84 kB / 1.652 GB, free: 28.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/3.244, allocations: 5.688 kB / 1.652 GB, free: 28.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003624/3.248, allocations: 2.796 MB / 1.655 GB, free: 28.32 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/3.259, allocations: 7.059 MB / 1.662 GB, free: 26.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/3.259, allocations: 10.88 kB / 1.662 GB, free: 26.72 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001815/3.261, allocations: 448.5 kB / 1.662 GB, free: 26.72 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004339/3.261, allocations: 185.7 kB / 1.663 GB, free: 26.69 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002588/3.262, allocations: 104 kB / 1.663 GB, free: 26.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/3.264, allocations: 3.067 MB / 1.666 GB, free: 23.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/3.264, allocations: 11.38 kB / 1.666 GB, free: 23.88 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006064/3.27, allocations: 4.344 MB / 1.67 GB, free: 22.13 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/3.271, allocations: 0.5524 MB / 1.67 GB, free: 21.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005406/3.271, allocations: 59.55 kB / 1.671 GB, free: 21.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/3.273, allocations: 134.5 kB / 1.671 GB, free: 21.75 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003057/3.273, allocations: 177.4 kB / 1.671 GB, free: 21.72 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002585/3.274, allocations: 160.1 kB / 1.671 GB, free: 21.71 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001775/3.276, allocations: 1.091 MB / 1.672 GB, free: 21.28 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/3.276, allocations: 0 / 1.672 GB, free: 21.28 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005698/3.281, allocations: 1.764 MB / 1.674 GB, free: 20.91 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 8 (pipe1.mediums[1].p,pipe1.mediums[1].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe3.mediums[1].p,pipe3.mediums[1].T,junctionIdeal.medium.p,junctionIdeal.medium.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 12 (valveOpening2.nextEvent,valveOpening2.last,valveOpening2.nextEventScaled,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,valveOpening1.b,valveOpening1.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 185 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00475/3.286, allocations: 2.081 MB / 1.676 GB, free: 20.38 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008236/3.294, allocations: 4.374 MB / 1.68 GB, free: 18.84 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/3.294, allocations: 1.062 kB / 1.68 GB, free: 18.84 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002222/3.297, allocations: 1.539 MB / 1.682 GB, free: 18.18 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00671/3.303, allocations: 0.9914 MB / 1.683 GB, free: 17.97 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00794/3.311, allocations: 5.682 MB / 1.688 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001671/3.313, allocations: 1.684 MB / 1.69 GB, free: 30.28 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006409/3.319, allocations: 3.036 MB / 1.693 GB, free: 30 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/3.321, allocations: 344.1 kB / 1.693 GB, free: 29.96 MB / 0.5573 GB Notification: Performance of SimCode: time 1.312e-06/3.321, allocations: 0 / 1.693 GB, free: 29.96 MB / 0.5573 GB Notification: Performance of Templates: time 0.3685/3.689, allocations: 71.52 MB / 1.763 GB, free: 77.53 MB / 0.573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe 2>&1)