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.001059/0.001059, allocations: 182.6 kB / 7.652 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.327/1.327, allocations: 194.3 MB / 202.4 MB, free: 8.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.001718/0.001718, allocations: 113.3 kB / 247.4 MB, free: 6.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.199/0.199, allocations: 39.94 MB / 332.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.245e-05/1.247e-05, allocations: 3.984 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 54.86 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.625/6.733, allocations: 2.655 GB / 3.093 GB, free: 81.12 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/6.733, allocations: 83.89 kB / 3.093 GB, free: 81.04 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.401/9.134, allocations: 0.5682 GB / 3.661 GB, free: 35.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.445e-06/9.134, allocations: 0 / 3.661 GB, free: 35.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002939/9.134, allocations: 47.3 kB / 3.661 GB, free: 35.78 MB / 490.7 MB 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.01395/9.148, allocations: 2.845 MB / 3.664 GB, free: 34.17 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/9.148, allocations: 15.34 kB / 3.664 GB, free: 34.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003951/9.152, allocations: 0.5436 MB / 3.664 GB, free: 34.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003279/9.155, allocations: 1.432 MB / 3.666 GB, free: 33.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.173e-05/9.156, allocations: 60.73 kB / 3.666 GB, free: 33.33 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/9.156, allocations: 71.56 kB / 3.666 GB, free: 33.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002269/9.158, allocations: 1.557 MB / 3.667 GB, free: 32.79 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002347/9.16, allocations: 1.763 MB / 3.669 GB, free: 31.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/9.16, allocations: 7.688 kB / 3.669 GB, free: 31.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/9.161, allocations: 3.844 kB / 3.669 GB, free: 31.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/9.161, allocations: 101.4 kB / 3.669 GB, free: 31.91 MB / 490.7 MB 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.6141/9.775, allocations: 73.37 MB / 3.741 GB, free: 43.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/9.776, allocations: 0.9221 MB / 3.742 GB, free: 43.79 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006471/9.777, allocations: 0.5577 MB / 3.742 GB, free: 43.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03166/9.809, allocations: 17.43 MB / 3.759 GB, free: 32.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0017/9.81, allocations: 0.7077 MB / 3.76 GB, free: 32.78 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=88): time 4.117e-06/9.81, allocations: 0 / 3.76 GB, free: 32.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.01361/9.824, allocations: 4.671 MB / 3.764 GB, free: 31.72 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/9.824, allocations: 381.6 kB / 3.765 GB, free: 31.28 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/9.825, allocations: 0.7916 MB / 3.766 GB, free: 31.13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.371e-05/9.825, allocations: 32.55 kB / 3.766 GB, free: 31.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005899/9.826, allocations: 0.688 MB / 3.766 GB, free: 30.85 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002995/9.826, allocations: 324.8 kB / 3.767 GB, free: 30.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.418e-05/9.826, allocations: 2.375 kB / 3.767 GB, free: 30.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001065/9.826, allocations: 356.3 kB / 3.767 GB, free: 30.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007487/9.827, allocations: 0.5962 MB / 3.767 GB, free: 30.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009055/9.828, allocations: 0.9171 MB / 3.768 GB, free: 30.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006413/9.835, allocations: 1.759 MB / 3.77 GB, free: 30.01 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/9.835, allocations: 3.312 kB / 3.77 GB, free: 30.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.008003/9.843, allocations: 2.771 MB / 3.773 GB, free: 29.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008597/9.843, allocations: 3.267 MB / 3.776 GB, free: 26.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.76e-05/9.844, allocations: 8.625 kB / 3.776 GB, free: 26.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000361/9.844, allocations: 128.8 kB / 3.776 GB, free: 26.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/9.845, allocations: 324.7 kB / 3.776 GB, free: 26.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007477/9.846, allocations: 1.268 MB / 3.778 GB, free: 25.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/9.847, allocations: 159.8 kB / 3.778 GB, free: 25.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/9.848, allocations: 70.02 kB / 3.778 GB, free: 25.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/9.848, allocations: 7.891 kB / 3.778 GB, free: 25.35 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007445/9.855, allocations: 2.501 MB / 3.78 GB, free: 25.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.063e-05/9.855, allocations: 11.8 kB / 3.78 GB, free: 25.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002726/9.855, allocations: 126.8 kB / 3.78 GB, free: 25.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/9.856, allocations: 322.7 kB / 3.781 GB, free: 25.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006972/9.857, allocations: 1.271 MB / 3.782 GB, free: 24.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/9.859, allocations: 147.6 kB / 3.782 GB, free: 24.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/9.859, allocations: 62.86 kB / 3.782 GB, free: 24.2 MB / 0.4948 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,pipe1.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,source.medium.phase,sink.medium.phase,pipe3.state_b.phase,pipe1.state_b.phase) * Number of discrete 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.0004035/9.859, allocations: 179.8 kB / 3.782 GB, free: 24.06 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003391/9.86, allocations: 129.2 kB / 3.782 GB, free: 24 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005547/9.865, allocations: 3.757 MB / 3.786 GB, free: 23.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.07e-05/9.865, allocations: 40.89 kB / 3.786 GB, free: 23.64 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/9.865, allocations: 1.594 kB / 3.786 GB, free: 23.64 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003803/9.869, allocations: 2.964 MB / 3.789 GB, free: 23.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007943/9.877, allocations: 5.241 MB / 3.794 GB, free: 22.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/9.877, allocations: 2.344 kB / 3.794 GB, free: 22.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008585/9.878, allocations: 201.9 kB / 3.794 GB, free: 22.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004516/9.878, allocations: 166.7 kB / 3.795 GB, free: 22.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/9.878, allocations: 32.59 kB / 3.795 GB, free: 22.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007711/9.879, allocations: 1.34 MB / 3.796 GB, free: 21.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/9.879, allocations: 3.812 kB / 3.796 GB, free: 21.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004978/9.884, allocations: 3.623 MB / 3.799 GB, free: 21.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/9.885, allocations: 495.2 kB / 3.8 GB, free: 21.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003911/9.886, allocations: 14.78 kB / 3.8 GB, free: 21.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/9.887, allocations: 94.78 kB / 3.8 GB, free: 21.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/9.887, allocations: 74.06 kB / 3.8 GB, free: 21.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.034e-05/9.887, allocations: 42.59 kB / 3.8 GB, free: 21.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001197/9.888, allocations: 0.7949 MB / 3.801 GB, free: 20.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.2e-07/9.888, allocations: 1.312 kB / 3.801 GB, free: 20.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01021/9.898, allocations: 2.113 MB / 3.803 GB, free: 20.94 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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: 26 ($cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.region3boundary,$cse19.region3boundary,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$whenCondition1,pipe1.statesFM[2].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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 11 * 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.01476/9.913, allocations: 2.493 MB / 3.805 GB, free: 20.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005181/9.918, allocations: 2.859 MB / 3.808 GB, free: 20.37 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/9.918, allocations: 4.312 kB / 3.808 GB, free: 20.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001749/9.92, allocations: 1.202 MB / 3.809 GB, free: 20.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003214/9.923, allocations: 0.5007 MB / 3.81 GB, free: 20.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006977/9.93, allocations: 3.326 MB / 3.813 GB, free: 19.42 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/9.932, allocations: 1.635 MB / 3.815 GB, free: 18.66 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0037/9.936, allocations: 1.74 MB / 3.816 GB, free: 18.59 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004153/9.936, allocations: 104.9 kB / 3.817 GB, free: 18.59 MB / 0.4948 GB Notification: Performance of SimCode: time 1.413e-06/9.936, allocations: 2.516 kB / 3.817 GB, free: 18.59 MB / 0.4948 GB Notification: Performance of Templates: time 0.08696/10.02, allocations: 54.53 MB / 3.87 GB, free: 7.672 MB / 0.4948 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)