Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.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.SeriesPipes2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2") translateModel(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005034/0.005034, allocations: 174.9 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.341/1.341, allocations: 194.5 MB / 210.3 MB, free: 7.543 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.001761/0.001761, allocations: 128.5 kB / 255.6 MB, free: 10.15 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.1883/0.1883, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.000487, allocations: 10.75 kB / 406.1 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1255, allocations: 54.87 MB / 461 MB, free: 3.289 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.162/6.287, allocations: 2.656 GB / 3.106 GB, free: 7.668 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/6.288, allocations: 78.34 kB / 3.106 GB, free: 7.629 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.083/8.37, allocations: 0.5749 GB / 3.681 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.083e-06/8.37, allocations: 4 kB / 3.681 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001652/8.371, allocations: 47.92 kB / 3.681 GB, free: 9.188 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: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.01179/8.382, allocations: 3.031 MB / 3.684 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/8.382, allocations: 12.03 kB / 3.684 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003868/8.386, allocations: 0.5326 MB / 3.684 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003827/8.39, allocations: 1.458 MB / 3.686 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/8.39, allocations: 118.4 kB / 3.686 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/8.39, allocations: 127.9 kB / 3.686 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004739/8.395, allocations: 2.283 MB / 3.688 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/8.395, allocations: 7.938 kB / 3.688 GB, free: 1.367 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/8.395, allocations: 59.98 kB / 3.688 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001371/8.396, allocations: 94.89 kB / 3.688 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2933/8.689, allocations: 2.051 MB / 3.69 GB, free: 41.26 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.01379/8.703, allocations: 9.645 MB / 3.7 GB, free: 35.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003566/8.706, allocations: 1.371 MB / 3.701 GB, free: 35.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03519/8.742, allocations: 18.79 MB / 3.719 GB, free: 23.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00289/8.744, allocations: 1.035 MB / 3.72 GB, free: 23.65 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 4.087e-06/8.744, allocations: 0 / 3.72 GB, free: 23.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=104): time 0.01216/8.757, allocations: 5.168 MB / 3.725 GB, free: 22.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.572e-05/8.757, allocations: 274.3 kB / 3.726 GB, free: 22.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/8.758, allocations: 0.9782 MB / 3.727 GB, free: 22.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001225/8.758, allocations: 49.61 kB / 3.727 GB, free: 22.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005005/8.759, allocations: 0.6629 MB / 3.727 GB, free: 22.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/8.759, allocations: 356 kB / 3.728 GB, free: 22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-05/8.759, allocations: 24.81 kB / 3.728 GB, free: 22 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001109/8.759, allocations: 360.4 kB / 3.728 GB, free: 21.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/8.76, allocations: 0.6803 MB / 3.729 GB, free: 21.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/8.762, allocations: 1.007 MB / 3.73 GB, free: 21.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/8.763, allocations: 0.8434 MB / 3.731 GB, free: 21.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/8.763, allocations: 3.75 kB / 3.731 GB, free: 21.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003456/8.766, allocations: 1.999 MB / 3.733 GB, free: 21.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001479/8.768, allocations: 3.28 MB / 3.736 GB, free: 33.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.971e-05/8.768, allocations: 11.62 kB / 3.736 GB, free: 33.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005191/8.769, allocations: 143.6 kB / 3.736 GB, free: 33.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/8.77, allocations: 317.7 kB / 3.736 GB, free: 33.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008485/8.771, allocations: 1.256 MB / 3.737 GB, free: 32.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/8.772, allocations: 163.5 kB / 3.738 GB, free: 32.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/8.772, allocations: 65.92 kB / 3.738 GB, free: 32.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/8.772, allocations: 7.938 kB / 3.738 GB, free: 32.68 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003254/8.776, allocations: 1.829 MB / 3.739 GB, free: 32.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/8.776, allocations: 10.31 kB / 3.739 GB, free: 32.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004691/8.776, allocations: 143.8 kB / 3.74 GB, free: 32.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/8.777, allocations: 317.9 kB / 3.74 GB, free: 32.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009516/8.778, allocations: 1.258 MB / 3.741 GB, free: 31.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/8.78, allocations: 162.7 kB / 3.741 GB, free: 31.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/8.78, allocations: 61.28 kB / 3.741 GB, free: 31.55 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 17 (pipe3.state_a.phase,valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,pipe1.state_a.phase,$whenCondition1,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,pipe3.state_b.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001136/8.781, allocations: 0.5389 MB / 3.742 GB, free: 31.33 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/8.782, allocations: 138.4 kB / 3.742 GB, free: 31.26 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005652/8.787, allocations: 4.739 MB / 3.747 GB, free: 30.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-05/8.787, allocations: 57.27 kB / 3.747 GB, free: 30.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/8.787, allocations: 0 / 3.747 GB, free: 30.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004471/8.792, allocations: 3.979 MB / 3.751 GB, free: 30.37 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009225/8.801, allocations: 6.743 MB / 3.757 GB, free: 29.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/8.801, allocations: 0 / 3.757 GB, free: 29.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009981/8.802, allocations: 242.5 kB / 3.757 GB, free: 29.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007192/8.803, allocations: 199.8 kB / 3.758 GB, free: 29.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.794e-05/8.803, allocations: 40.03 kB / 3.758 GB, free: 29.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008083/8.804, allocations: 1.286 MB / 3.759 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/8.804, allocations: 0 / 3.759 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005639/8.809, allocations: 4.37 MB / 3.763 GB, free: 28.36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/8.811, allocations: 0.5277 MB / 3.764 GB, free: 28.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002442/8.811, allocations: 32.14 kB / 3.764 GB, free: 28.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009405/8.812, allocations: 128.8 kB / 3.764 GB, free: 28.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/8.812, allocations: 87.34 kB / 3.764 GB, free: 28.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.48e-05/8.812, allocations: 39.05 kB / 3.764 GB, free: 28.14 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001255/8.813, allocations: 0.8699 MB / 3.765 GB, free: 28.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.21e-07/8.813, allocations: 0 / 3.765 GB, free: 28.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008873/8.822, allocations: 2.186 MB / 3.767 GB, free: 27.95 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pipe1.mediums[1].p,pipe1.mediums[1].h,valveIncompressible1.filter.x[1],valveIncompressible1.filter.x[2],pipe3.mediums[1].p,pipe3.mediums[1].h) * Number of discrete variables: 36 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse22.phase,$cse22.region,$cse24.region3boundary,$cse25.region3boundary,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$whenCondition1,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled) * Number of discrete states: 6 (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 (118): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 15 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01215/8.835, allocations: 2.378 MB / 3.769 GB, free: 27.72 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005775/8.84, allocations: 3.239 MB / 3.772 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/8.84, allocations: 3.531 kB / 3.772 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001898/8.842, allocations: 1.481 MB / 3.774 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003087/8.845, allocations: 0.572 MB / 3.774 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4675/9.313, allocations: 127.5 MB / 3.899 GB, free: 68.53 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001537/9.314, allocations: 1.719 MB / 3.901 GB, free: 67.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003111/9.318, allocations: 1.571 MB / 3.902 GB, free: 67.78 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/9.318, allocations: 127.2 kB / 3.902 GB, free: 67.77 MB / 0.5261 GB Notification: Performance of SimCode: time 1.513e-06/9.318, allocations: 0 / 3.902 GB, free: 67.77 MB / 0.5261 GB Notification: Performance of Templates: time 0.08245/9.4, allocations: 61.61 MB / 3.962 GB, free: 65.86 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.pipe 2>&1)