Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007593/0.007593, allocations: 174.4 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.619/1.619, allocations: 194.5 MB / 210.3 MB, free: 7.809 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001808/0.001809, allocations: 116.6 kB / 255.6 MB, free: 10.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1966/0.1966, allocations: 40 MB / 340.8 MB, free: 11.44 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.0004049, allocations: 10.28 kB / 406.2 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1107, allocations: 54.88 MB / 461 MB, free: 3.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.597/1.708, allocations: 0.6878 GB / 1.138 GB, free: 145.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/1.708, allocations: 79.55 kB / 1.138 GB, free: 145.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.126/3.834, allocations: 0.6156 GB / 1.754 GB, free: 39.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.296e-06/3.834, allocations: 3.938 kB / 1.754 GB, free: 39.15 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003449/3.834, allocations: 69.16 kB / 1.754 GB, free: 39.14 MB / 0.4948 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.01722/3.852, allocations: 3.494 MB / 1.757 GB, free: 37.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/3.852, allocations: 9.656 kB / 1.757 GB, free: 37.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005432/3.857, allocations: 464.5 kB / 1.758 GB, free: 37.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00975/3.867, allocations: 2.018 MB / 1.76 GB, free: 36.83 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003228/3.867, allocations: 135.6 kB / 1.76 GB, free: 36.83 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001277/3.869, allocations: 180.3 kB / 1.76 GB, free: 36.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009314/3.878, allocations: 2.749 MB / 1.763 GB, free: 36.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001062/3.878, allocations: 3.094 kB / 1.763 GB, free: 36.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000677/3.879, allocations: 78.66 kB / 1.763 GB, free: 36.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003275/3.879, allocations: 158.3 kB / 1.763 GB, free: 36.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007215/3.886, allocations: 2.339 MB / 1.765 GB, free: 36.34 MB / 0.4948 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.02907/3.916, allocations: 11.54 MB / 1.776 GB, free: 30.08 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005326/3.921, allocations: 1.863 MB / 1.778 GB, free: 29.76 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001511/3.922, allocations: 464.5 kB / 1.779 GB, free: 29.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003341/3.926, allocations: 1.23 MB / 1.78 GB, free: 29.35 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=172): time 7.674e-06/3.926, allocations: 0 / 1.78 GB, free: 29.35 MB / 0.4948 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.04996/3.976, allocations: 12.19 MB / 1.792 GB, free: 27.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/3.976, allocations: 259.2 kB / 1.792 GB, free: 26.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004149/3.98, allocations: 1.401 MB / 1.793 GB, free: 26.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007493/3.981, allocations: 65.73 kB / 1.793 GB, free: 26.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001246/3.982, allocations: 0.9258 MB / 1.794 GB, free: 26.35 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001413/3.984, allocations: 0.6723 MB / 1.795 GB, free: 25.92 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005308/3.984, allocations: 45.31 kB / 1.795 GB, free: 25.92 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000216/3.985, allocations: 402.5 kB / 1.795 GB, free: 25.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003357/3.988, allocations: 1.082 MB / 1.797 GB, free: 25.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003901/3.992, allocations: 1.578 MB / 1.798 GB, free: 24.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003964/3.996, allocations: 1.372 MB / 1.799 GB, free: 24.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.18e-05/3.996, allocations: 3.875 kB / 1.799 GB, free: 24.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.01092/4.007, allocations: 3.318 MB / 1.803 GB, free: 22.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00129/4.008, allocations: 4.845 MB / 1.807 GB, free: 17.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.906e-05/4.008, allocations: 16.66 kB / 1.807 GB, free: 17.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/4.01, allocations: 303.6 kB / 1.808 GB, free: 17.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004433/4.014, allocations: 0.5717 MB / 1.808 GB, free: 17.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/4.016, allocations: 3.014 MB / 1.811 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004538/4.021, allocations: 214 kB / 1.811 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009178/4.022, allocations: 214.4 kB / 1.812 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/4.022, allocations: 3.469 kB / 1.812 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009845/4.032, allocations: 3.054 MB / 1.815 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.965e-05/4.032, allocations: 9.125 kB / 1.815 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/4.033, allocations: 301.1 kB / 1.815 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00421/4.037, allocations: 0.5705 MB / 1.815 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003173/4.041, allocations: 3.013 MB / 1.818 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004376/4.045, allocations: 221.2 kB / 1.819 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008725/4.046, allocations: 202.8 kB / 1.819 GB, free: 26.62 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (265): * Single equations (assignments): 258 * 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.002788/4.049, allocations: 0.7074 MB / 1.819 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009684/4.05, allocations: 216.9 kB / 1.82 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01412/4.064, allocations: 3.803 MB / 1.823 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.827e-05/4.064, allocations: 20 kB / 1.823 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.911e-05/4.064, allocations: 4 kB / 1.823 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007831/4.072, allocations: 2.955 MB / 1.826 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02111/4.093, allocations: 7.057 MB / 1.833 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-05/4.093, allocations: 8 kB / 1.833 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00343/4.096, allocations: 459.9 kB / 1.834 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001387/4.098, allocations: 320.4 kB / 1.834 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000379/4.098, allocations: 113.8 kB / 1.834 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004318/4.103, allocations: 3.755 MB / 1.838 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.168e-05/4.103, allocations: 7.938 kB / 1.838 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01376/4.116, allocations: 4.969 MB / 1.843 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002602/4.119, allocations: 0.561 MB / 1.843 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009678/4.12, allocations: 59.66 kB / 1.843 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00334/4.123, allocations: 132.5 kB / 1.843 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005856/4.124, allocations: 191.9 kB / 1.843 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000629/4.125, allocations: 186.4 kB / 1.844 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003469/4.128, allocations: 1.064 MB / 1.845 GB, free: 3.867 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.31e-07/4.128, allocations: 0 / 1.845 GB, free: 3.867 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0125/4.141, allocations: 2.057 MB / 1.847 GB, free: 1.852 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 198 * 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.01163/4.152, allocations: 2.617 MB / 1.849 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01647/4.169, allocations: 4.661 MB / 1.854 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.922e-05/4.169, allocations: 4.562 kB / 1.854 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005384/4.174, allocations: 1.669 MB / 1.855 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007741/4.182, allocations: 1.044 MB / 1.856 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01744/4.2, allocations: 7.449 MB / 1.864 GB, free: 3.254 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00207/4.202, allocations: 1.769 MB / 1.865 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006807/4.209, allocations: 1.395 MB / 1.867 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/4.21, allocations: 322.6 kB / 1.867 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/4.21, allocations: 0 / 1.867 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of Templates: time 0.355/4.565, allocations: 77.5 MB / 1.943 GB, free: 59.7 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe 2>&1)