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/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.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/Complex trunk/package.mo): time 0.0009491/0.0009491, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.151/1.151, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007707/0.0007708, allocations: 97.11 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1569/0.1569, allocations: 45.15 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.074e-05/2.076e-05, allocations: 4 kB / 460.4 MB, free: 70.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07609/0.07612, allocations: 63.25 MB / 0.5114 GB, free: 6.812 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.148, allocations: 0.5625 GB / 1.074 GB, free: 97.92 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/1.148, allocations: 78.95 kB / 1.074 GB, free: 97.88 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.807/2.954, allocations: 0.5655 GB / 1.639 GB, free: 50.59 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.242e-06/2.954, allocations: 3.75 kB / 1.639 GB, free: 50.59 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001584/2.955, allocations: 68.44 kB / 1.639 GB, free: 50.59 MB / 0.5573 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.006364/2.961, allocations: 2.948 MB / 1.642 GB, free: 49.57 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/2.961, allocations: 9.375 kB / 1.642 GB, free: 49.57 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002366/2.963, allocations: 459.3 kB / 1.643 GB, free: 49.44 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003964/2.967, allocations: 2.001 MB / 1.645 GB, free: 49.09 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.7e-05/2.967, allocations: 136.5 kB / 1.645 GB, free: 49.09 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000297/2.968, allocations: 178.3 kB / 1.645 GB, free: 49.09 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003596/2.971, allocations: 2.722 MB / 1.648 GB, free: 48.63 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.095e-05/2.971, allocations: 1.688 kB / 1.648 GB, free: 48.63 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002232/2.972, allocations: 83.78 kB / 1.648 GB, free: 48.63 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001486/2.972, allocations: 158.2 kB / 1.648 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003073/2.975, allocations: 2.288 MB / 1.65 GB, free: 48.61 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.01254/2.987, allocations: 11.68 MB / 1.662 GB, free: 42.35 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/2.99, allocations: 1.842 MB / 1.663 GB, free: 42.04 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/2.991, allocations: 1.114 MB / 1.664 GB, free: 42.02 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007595/2.992, allocations: 0.503 MB / 1.665 GB, free: 41.54 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001668/2.994, allocations: 1.337 MB / 1.666 GB, free: 41.37 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=172): time 3.467e-06/2.994, allocations: 0 / 1.666 GB, free: 41.37 MB / 0.5573 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: junctionVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=200): time 0.02228/3.016, allocations: 9.695 MB / 1.676 GB, free: 40.16 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/3.016, allocations: 362.7 kB / 1.676 GB, free: 39.75 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/3.018, allocations: 1.468 MB / 1.678 GB, free: 39.52 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002288/3.018, allocations: 69.05 kB / 1.678 GB, free: 39.49 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006042/3.019, allocations: 0.9087 MB / 1.678 GB, free: 39.17 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00047/3.019, allocations: 0.6715 MB / 1.679 GB, free: 38.74 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/3.02, allocations: 49.06 kB / 1.679 GB, free: 38.74 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001212/3.02, allocations: 392.2 kB / 1.68 GB, free: 38.44 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/3.021, allocations: 1.049 MB / 1.681 GB, free: 38.43 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/3.023, allocations: 1.536 MB / 1.682 GB, free: 37.95 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/3.025, allocations: 1.335 MB / 1.683 GB, free: 37.87 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/3.025, allocations: 4.594 kB / 1.683 GB, free: 37.87 MB / 0.5573 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.004865/3.03, allocations: 3.316 MB / 1.687 GB, free: 37.57 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007193/3.031, allocations: 4.334 MB / 1.691 GB, free: 33.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/3.031, allocations: 13.19 kB / 1.691 GB, free: 33.06 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006883/3.031, allocations: 316.8 kB / 1.691 GB, free: 33.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/3.034, allocations: 0.5637 MB / 1.692 GB, free: 33.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/3.035, allocations: 2.999 MB / 1.695 GB, free: 30.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002372/3.037, allocations: 229.2 kB / 1.695 GB, free: 30.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003219/3.038, allocations: 206.3 kB / 1.695 GB, free: 30.41 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/3.038, allocations: 5.062 kB / 1.695 GB, free: 30.41 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005382/3.043, allocations: 3.035 MB / 1.698 GB, free: 30.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.255e-05/3.043, allocations: 12.36 kB / 1.698 GB, free: 30.26 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006986/3.044, allocations: 302.2 kB / 1.698 GB, free: 30.22 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/3.046, allocations: 0.5598 MB / 1.699 GB, free: 30.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/3.047, allocations: 3.002 MB / 1.702 GB, free: 27.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/3.05, allocations: 217 kB / 1.702 GB, free: 27.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003635/3.05, allocations: 204.5 kB / 1.702 GB, free: 27.62 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 254 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0008046/3.051, allocations: 307.7 kB / 1.702 GB, free: 27.44 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004589/3.052, allocations: 230.5 kB / 1.703 GB, free: 27.32 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008145/3.06, allocations: 4.787 MB / 1.707 GB, free: 27.04 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/3.06, allocations: 19.72 kB / 1.707 GB, free: 27.04 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/3.06, allocations: 3.125 kB / 1.707 GB, free: 27.04 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003697/3.064, allocations: 2.989 MB / 1.71 GB, free: 26.44 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/3.074, allocations: 7.238 MB / 1.717 GB, free: 25.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/3.074, allocations: 7.625 kB / 1.717 GB, free: 25.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/3.076, allocations: 472 kB / 1.718 GB, free: 25.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007351/3.077, allocations: 314.2 kB / 1.718 GB, free: 24.98 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002016/3.077, allocations: 114.2 kB / 1.718 GB, free: 24.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002667/3.08, allocations: 3.742 MB / 1.722 GB, free: 37.66 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/3.08, allocations: 13 kB / 1.722 GB, free: 37.66 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00646/3.086, allocations: 5.042 MB / 1.727 GB, free: 36.34 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/3.088, allocations: 0.5735 MB / 1.727 GB, free: 36.12 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003939/3.088, allocations: 63.45 kB / 1.727 GB, free: 36.12 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/3.09, allocations: 140.1 kB / 1.728 GB, free: 36.11 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003156/3.09, allocations: 183.7 kB / 1.728 GB, free: 36.11 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000258/3.09, allocations: 192 kB / 1.728 GB, free: 36.11 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001427/3.092, allocations: 1.117 MB / 1.729 GB, free: 35.95 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/3.092, allocations: 0 / 1.729 GB, free: 35.95 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006316/3.098, allocations: 1.925 MB / 1.731 GB, free: 35.73 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 9 (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,junctionVolume.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 199 * 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: 5 * 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: 4 {1 6,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00476/3.103, allocations: 2.287 MB / 1.733 GB, free: 35.21 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.006976/3.11, allocations: 4.6 MB / 1.738 GB, free: 34.89 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/3.11, allocations: 0 / 1.738 GB, free: 34.89 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002284/3.112, allocations: 1.637 MB / 1.739 GB, free: 34.64 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005407/3.118, allocations: 1.127 MB / 1.74 GB, free: 34.62 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006691/3.124, allocations: 4.344 MB / 1.745 GB, free: 33.61 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/3.125, allocations: 1.767 MB / 1.746 GB, free: 32.87 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.007114/3.133, allocations: 3.317 MB / 1.75 GB, free: 32.73 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/3.134, allocations: 351 kB / 1.75 GB, free: 32.7 MB / 0.573 GB Notification: Performance of SimCode: time 1.052e-06/3.134, allocations: 3.875 kB / 1.75 GB, free: 32.7 MB / 0.573 GB Notification: Performance of Templates: time 0.1046/3.238, allocations: 85.32 MB / 1.833 GB, free: 2.18 MB / 0.5886 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)