Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001582/0.001582, allocations: 170.2 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.328/1.328, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001581/0.001581, allocations: 109.8 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1787/0.1787, allocations: 37.99 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.231e-05/3.233e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1053, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.807/6.913, allocations: 2.563 GB / 2.959 GB, free: 125.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/6.913, allocations: 83.34 kB / 2.959 GB, free: 125.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.43/10.34, allocations: 0.8462 GB / 3.805 GB, free: 28.85 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.643e-06/10.34, allocations: 0 / 3.805 GB, free: 28.85 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002054/10.34, allocations: 55.17 kB / 3.805 GB, free: 28.84 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 472 * Number of variables: 472 Notification: Performance of Generate backend data structure: time 0.01481/10.36, allocations: 3.628 MB / 3.809 GB, free: 27.23 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/10.36, allocations: 11.78 kB / 3.809 GB, free: 27.23 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005954/10.36, allocations: 0.7598 MB / 3.809 GB, free: 27.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005411/10.37, allocations: 1.967 MB / 3.811 GB, free: 26.67 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/10.37, allocations: 165.5 kB / 3.811 GB, free: 26.66 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005935/10.37, allocations: 183.4 kB / 3.812 GB, free: 26.66 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006612/10.38, allocations: 3.231 MB / 3.815 GB, free: 26.18 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.942e-05/10.38, allocations: 9.469 kB / 3.815 GB, free: 26.18 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002411/10.38, allocations: 79.75 kB / 3.815 GB, free: 26.18 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001676/10.38, allocations: 152.8 kB / 3.815 GB, free: 26.17 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005659/10.38, allocations: 2.818 MB / 3.818 GB, free: 26.16 MB / 474.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.01614/10.4, allocations: 13.88 MB / 3.831 GB, free: 17.69 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003882/10.4, allocations: 1.963 MB / 3.833 GB, free: 17.65 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/10.41, allocations: 1.009 MB / 3.834 GB, free: 17.64 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03242/10.44, allocations: 18.85 MB / 3.853 GB, free: 21.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003825/10.44, allocations: 1.583 MB / 3.854 GB, free: 21.69 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001302/10.44, allocations: 173.2 kB / 3.854 GB, free: 21.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=151): time 3.466e-06/10.44, allocations: 0 / 3.854 GB, free: 21.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=163): time 0.0162/10.46, allocations: 6.875 MB / 3.861 GB, free: 20.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/10.46, allocations: 255.7 kB / 3.861 GB, free: 20.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/10.46, allocations: 1.256 MB / 3.863 GB, free: 20.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001809/10.46, allocations: 58.98 kB / 3.863 GB, free: 20.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006231/10.46, allocations: 0.8959 MB / 3.863 GB, free: 19.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003727/10.46, allocations: 0.5394 MB / 3.864 GB, free: 19.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/10.46, allocations: 36.75 kB / 3.864 GB, free: 19.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/10.46, allocations: 387 kB / 3.864 GB, free: 19.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/10.46, allocations: 0.9086 MB / 3.865 GB, free: 19.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/10.47, allocations: 1.338 MB / 3.867 GB, free: 18.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/10.47, allocations: 1.157 MB / 3.868 GB, free: 18.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/10.47, allocations: 7.938 kB / 3.868 GB, free: 18.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.005713/10.47, allocations: 2.93 MB / 3.871 GB, free: 18.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001652/10.47, allocations: 4.363 MB / 3.875 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/10.47, allocations: 15.53 kB / 3.875 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002212/10.48, allocations: 0.5149 MB / 3.875 GB, free: 13.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/10.48, allocations: 455.3 kB / 3.876 GB, free: 13.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/10.48, allocations: 2.705 MB / 3.878 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/10.48, allocations: 265 kB / 3.879 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/10.48, allocations: 100.9 kB / 3.879 GB, free: 11.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/10.48, allocations: 5.125 kB / 3.879 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004032/10.49, allocations: 2.56 MB / 3.881 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/10.49, allocations: 12.19 kB / 3.881 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000595/10.49, allocations: 197.6 kB / 3.882 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/10.49, allocations: 468.8 kB / 3.882 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/10.49, allocations: 1.872 MB / 3.884 GB, free: 9.918 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/10.49, allocations: 257.5 kB / 3.884 GB, free: 9.906 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002009/10.49, allocations: 96.7 kB / 3.884 GB, free: 9.906 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 27 (valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,valveIncompressible.state_b.phase,valveIncompressible.state_a.phase,$whenCondition1,$whenCondition2,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,pipe3.state_a.phase,pipe3.state_b.phase,pipe2.state_a.phase,pipe2.state_b.phase,pipe1.state_a.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 209 * 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,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006417/10.49, allocations: 292.4 kB / 3.884 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003321/10.49, allocations: 195 kB / 3.885 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00838/10.5, allocations: 7.364 MB / 3.892 GB, free: 8.863 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-05/10.5, allocations: 81.19 kB / 3.892 GB, free: 8.863 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/10.5, allocations: 0 / 3.892 GB, free: 8.863 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006234/10.51, allocations: 6.438 MB / 3.898 GB, free: 7.918 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/10.52, allocations: 11.1 MB / 3.909 GB, free: 6.746 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/10.52, allocations: 3.75 kB / 3.909 GB, free: 6.746 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/10.52, allocations: 355.5 kB / 3.909 GB, free: 6.746 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002371/10.53, allocations: 1.287 MB / 3.911 GB, free: 6.688 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001458/10.53, allocations: 65.11 kB / 3.911 GB, free: 6.688 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/10.53, allocations: 3.188 MB / 3.914 GB, free: 4.594 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/10.53, allocations: 6.25 kB / 3.914 GB, free: 4.594 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007097/10.53, allocations: 7.166 MB / 3.921 GB, free: 2.312 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/10.54, allocations: 0.6988 MB / 3.921 GB, free: 17.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/10.54, allocations: 52.69 kB / 3.922 GB, free: 17.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/10.54, allocations: 188 kB / 3.922 GB, free: 17.81 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002543/10.54, allocations: 151.1 kB / 3.922 GB, free: 17.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/10.54, allocations: 79.48 kB / 3.922 GB, free: 17.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001509/10.54, allocations: 1.063 MB / 3.923 GB, free: 17.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/10.54, allocations: 0 / 3.923 GB, free: 17.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0087/10.55, allocations: 2.578 MB / 3.925 GB, free: 16.82 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 6 (pipe1.mediums[1].p,pipe1.mediums[1].h,pipe2.mediums[1].p,pipe2.mediums[1].h,pipe3.mediums[1].p,pipe3.mediums[1].h) * Number of discrete variables: 53 ($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,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse27.phase,$cse27.region,$cse30.phase,$cse30.region,$cse32.region3boundary,$cse33.region3boundary,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.region3boundary,$cse38.region3boundary,$cse39.phase,$cse39.region,$cse41.phase,$cse41.region,$whenCondition1,$whenCondition2,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent) * Number of discrete states: 10 (valveOpening2.last,valveOpening2.nextEvent,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (177): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 20 * 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,2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.009896/10.56, allocations: 2.756 MB / 3.928 GB, free: 16.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006764/10.57, allocations: 4.522 MB / 3.933 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/10.57, allocations: 9.625 kB / 3.933 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003177/10.57, allocations: 2.387 MB / 3.935 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004924/10.57, allocations: 0.9012 MB / 3.936 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4949/11.07, allocations: 125.2 MB / 4.058 GB, free: 47.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/11.07, allocations: 2.177 MB / 4.06 GB, free: 46.89 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004308/11.07, allocations: 2.432 MB / 4.063 GB, free: 46.79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004589/11.07, allocations: 154.8 kB / 4.063 GB, free: 46.79 MB / 0.4948 GB Notification: Performance of SimCode: time 8.22e-07/11.07, allocations: 0.875 kB / 4.063 GB, free: 46.79 MB / 0.4948 GB Notification: Performance of Templates: time 0.3849/11.46, allocations: 85.98 MB / 4.147 GB, free: 69.09 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.pipe 2>&1)