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.001459/0.001459, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008823/0.0008826, allocations: 101.9 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3404/0.3404, allocations: 45.22 MB / 394.7 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002824/0.0002824, allocations: 11.94 kB / 468.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3123, allocations: 63.25 MB / 0.5192 GB, free: 37.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9961/1.309, allocations: 0.5625 GB / 1.082 GB, free: 19.68 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/1.309, allocations: 86.5 kB / 1.082 GB, free: 19.63 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.789/3.097, allocations: 0.509 GB / 1.591 GB, free: 48.26 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.683e-06/3.097, allocations: 0 / 1.591 GB, free: 48.26 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002395/3.098, allocations: 60.8 kB / 1.591 GB, free: 48.25 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.009734/3.107, allocations: 3.108 MB / 1.594 GB, free: 47.01 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/3.108, allocations: 11.72 kB / 1.594 GB, free: 47.01 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003346/3.111, allocations: 445.5 kB / 1.594 GB, free: 46.88 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005484/3.116, allocations: 1.953 MB / 1.596 GB, free: 46.45 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/3.117, allocations: 127.9 kB / 1.596 GB, free: 46.45 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006928/3.117, allocations: 167.9 kB / 1.596 GB, free: 46.45 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004609/3.122, allocations: 2.647 MB / 1.599 GB, free: 46.02 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.234e-05/3.122, allocations: 8.438 kB / 1.599 GB, free: 46.02 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002974/3.122, allocations: 76.75 kB / 1.599 GB, free: 46.02 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001684/3.122, allocations: 153 kB / 1.599 GB, free: 46.01 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003425/3.126, allocations: 2.264 MB / 1.601 GB, free: 46 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.01376/3.14, allocations: 11.1 MB / 1.612 GB, free: 40 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/3.142, allocations: 1.817 MB / 1.614 GB, free: 39.68 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007715/3.143, allocations: 0.5074 MB / 1.615 GB, free: 39.21 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001721/3.145, allocations: 1.308 MB / 1.616 GB, free: 39.04 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=162): time 4.299e-06/3.145, allocations: 0 / 1.616 GB, free: 39.04 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.0239/3.169, allocations: 11.24 MB / 1.627 GB, free: 37.05 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/3.169, allocations: 359.8 kB / 1.627 GB, free: 36.65 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002287/3.171, allocations: 1.416 MB / 1.629 GB, free: 36.48 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003558/3.171, allocations: 66.2 kB / 1.629 GB, free: 36.45 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009278/3.172, allocations: 0.8679 MB / 1.629 GB, free: 36.15 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000773/3.173, allocations: 0.6203 MB / 1.63 GB, free: 35.75 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002793/3.173, allocations: 43.84 kB / 1.63 GB, free: 35.75 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001946/3.174, allocations: 386.5 kB / 1.63 GB, free: 35.45 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001877/3.176, allocations: 1.047 MB / 1.631 GB, free: 35.44 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002223/3.178, allocations: 1.489 MB / 1.633 GB, free: 35.02 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/3.18, allocations: 1.31 MB / 1.634 GB, free: 34.94 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/3.18, allocations: 0 / 1.634 GB, free: 34.94 MB / 0.5417 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005007/3.185, allocations: 3.169 MB / 1.637 GB, free: 34.65 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007323/3.186, allocations: 3.776 MB / 1.641 GB, free: 30.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/3.186, allocations: 7 kB / 1.641 GB, free: 30.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004572/3.186, allocations: 190.9 kB / 1.641 GB, free: 30.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002286/3.188, allocations: 0.543 MB / 1.642 GB, free: 30.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/3.189, allocations: 2.325 MB / 1.644 GB, free: 28.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002611/3.192, allocations: 219.1 kB / 1.644 GB, free: 28.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004054/3.193, allocations: 190.4 kB / 1.644 GB, free: 28.59 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/3.193, allocations: 6.688 kB / 1.644 GB, free: 28.59 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004617/3.197, allocations: 2.891 MB / 1.647 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/3.197, allocations: 15.23 kB / 1.647 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003453/3.198, allocations: 189.2 kB / 1.647 GB, free: 28.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/3.2, allocations: 0.5381 MB / 1.648 GB, free: 28.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009848/3.201, allocations: 2.321 MB / 1.65 GB, free: 26.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002194/3.203, allocations: 212.8 kB / 1.65 GB, free: 26.33 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003182/3.203, allocations: 185.8 kB / 1.651 GB, free: 26.33 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.001303/3.204, allocations: 0.696 MB / 1.651 GB, free: 26.07 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004508/3.205, allocations: 214.1 kB / 1.651 GB, free: 25.96 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007122/3.212, allocations: 4.669 MB / 1.656 GB, free: 25.68 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/3.212, allocations: 25.11 kB / 1.656 GB, free: 25.67 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/3.212, allocations: 0 / 1.656 GB, free: 25.67 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00337/3.215, allocations: 2.797 MB / 1.659 GB, free: 25.09 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/3.226, allocations: 7.05 MB / 1.666 GB, free: 21.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/3.226, allocations: 7.562 kB / 1.666 GB, free: 21.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00179/3.228, allocations: 436.2 kB / 1.666 GB, free: 21.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004184/3.229, allocations: 185.6 kB / 1.666 GB, free: 21.91 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002623/3.229, allocations: 96.5 kB / 1.666 GB, free: 21.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/3.23, allocations: 3.084 MB / 1.669 GB, free: 18.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/3.23, allocations: 10.5 kB / 1.669 GB, free: 18.95 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006247/3.237, allocations: 4.805 MB / 1.674 GB, free: 16.32 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/3.238, allocations: 0.5383 MB / 1.675 GB, free: 16.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005646/3.239, allocations: 60.86 kB / 1.675 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001727/3.24, allocations: 145.6 kB / 1.675 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002794/3.241, allocations: 170.7 kB / 1.675 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002692/3.241, allocations: 162.4 kB / 1.675 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001496/3.242, allocations: 1.111 MB / 1.676 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.11e-07/3.242, allocations: 0 / 1.676 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005687/3.248, allocations: 1.811 MB / 1.678 GB, free: 15.07 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.005086/3.253, allocations: 2.143 MB / 1.68 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006403/3.26, allocations: 4.369 MB / 1.684 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/3.26, allocations: 3.625 kB / 1.684 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001906/3.262, allocations: 1.537 MB / 1.686 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003958/3.266, allocations: 0.9781 MB / 1.687 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007532/3.273, allocations: 5.667 MB / 1.692 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/3.275, allocations: 1.726 MB / 1.694 GB, free: 24.29 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.005865/3.281, allocations: 3.044 MB / 1.697 GB, free: 22.59 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/3.282, allocations: 342.2 kB / 1.697 GB, free: 22.3 MB / 0.5573 GB Notification: Performance of SimCode: time 4.71e-07/3.282, allocations: 0 / 1.697 GB, free: 22.3 MB / 0.5573 GB Notification: Performance of Templates: time 0.3517/3.633, allocations: 70.83 MB / 1.766 GB, free: 77.18 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)