Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.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.BranchingPipes1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00149/0.00149, allocations: 170.4 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.307/1.307, 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.00158/0.001581, allocations: 102.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.222/0.222, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.079e-05/3.082e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0879/0.08795, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.778/6.866, allocations: 2.545 GB / 2.941 GB, free: 66.06 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/6.866, allocations: 73.59 kB / 2.941 GB, free: 66.02 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.204/10.07, allocations: 0.7755 GB / 3.717 GB, free: 31.49 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.343e-06/10.07, allocations: 0 / 3.717 GB, free: 31.49 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002692/10.07, allocations: 72.59 kB / 3.717 GB, free: 31.48 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: 514 * Number of variables: 514 Notification: Performance of Generate backend data structure: time 0.0155/10.09, allocations: 3.823 MB / 3.721 GB, free: 29.84 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/10.09, allocations: 11.91 kB / 3.721 GB, free: 29.84 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006568/10.09, allocations: 0.8128 MB / 3.722 GB, free: 29.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006205/10.1, allocations: 2.078 MB / 3.724 GB, free: 29.26 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/10.1, allocations: 182.3 kB / 3.724 GB, free: 29.25 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005703/10.1, allocations: 194 kB / 3.724 GB, free: 29.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008297/10.11, allocations: 3.69 MB / 3.728 GB, free: 28.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.985e-05/10.11, allocations: 8.609 kB / 3.728 GB, free: 28.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003363/10.11, allocations: 84.25 kB / 3.728 GB, free: 28.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002289/10.11, allocations: 168.1 kB / 3.728 GB, free: 28.69 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006821/10.12, allocations: 3.413 MB / 3.731 GB, free: 28.68 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.01773/10.13, allocations: 14.75 MB / 3.746 GB, free: 20.08 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003788/10.14, allocations: 2.114 MB / 3.748 GB, free: 20.05 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/10.14, allocations: 1.041 MB / 3.749 GB, free: 20.04 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03463/10.17, allocations: 18.92 MB / 3.767 GB, free: 24.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004098/10.18, allocations: 1.67 MB / 3.769 GB, free: 24.07 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001384/10.18, allocations: 186.5 kB / 3.769 GB, free: 23.99 MB / 490.7 MB Notification: Performance of pre-optimization done (n=158): time 4.909e-06/10.18, allocations: 0 / 3.769 GB, free: 23.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=170): time 0.01744/10.2, allocations: 7.337 MB / 3.776 GB, free: 23.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002238/10.2, allocations: 414.9 kB / 3.777 GB, free: 22.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/10.2, allocations: 1.487 MB / 3.778 GB, free: 22.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002706/10.2, allocations: 61.92 kB / 3.778 GB, free: 22.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007207/10.2, allocations: 0.989 MB / 3.779 GB, free: 21.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004697/10.2, allocations: 0.5744 MB / 3.78 GB, free: 21.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/10.2, allocations: 38.03 kB / 3.78 GB, free: 21.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/10.2, allocations: 391.4 kB / 3.78 GB, free: 21.26 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/10.2, allocations: 1.055 MB / 3.781 GB, free: 21.26 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/10.2, allocations: 1.518 MB / 3.782 GB, free: 20.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/10.21, allocations: 1.308 MB / 3.784 GB, free: 20.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/10.21, allocations: 4.969 kB / 3.784 GB, free: 20.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005074/10.21, allocations: 3.323 MB / 3.787 GB, free: 20.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001718/10.21, allocations: 4.58 MB / 3.791 GB, free: 15.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.649e-05/10.21, allocations: 14.36 kB / 3.792 GB, free: 15.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004468/10.22, allocations: 0.9646 MB / 3.792 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/10.22, allocations: 473.5 kB / 3.793 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/10.22, allocations: 3.164 MB / 3.796 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00289/10.23, allocations: 234.4 kB / 3.796 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004799/10.23, allocations: 104.5 kB / 3.796 GB, free: 13.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/10.23, allocations: 3.125 kB / 3.796 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005045/10.23, allocations: 3.002 MB / 3.799 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.529e-05/10.23, allocations: 22.02 kB / 3.799 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/10.23, allocations: 359.6 kB / 3.8 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/10.23, allocations: 495 kB / 3.8 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003821/10.24, allocations: 4.052 MB / 3.804 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002552/10.24, allocations: 229.1 kB / 3.804 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002403/10.24, allocations: 99.83 kB / 3.804 GB, free: 10.42 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 27 (pipe3.state_a.phase,pipe2.state_a.phase,valve2.state_b.phase,valve2.state_a.phase,valve1.state_b.phase,valve1.state_a.phase,pipe1.state_b.phase,pipe1.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_b.phase,pipe2.state_b.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (223): * Single equations (assignments): 213 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 2 * 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,3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007441/10.24, allocations: 298 kB / 3.805 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004127/10.24, allocations: 211.6 kB / 3.805 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008829/10.25, allocations: 7.766 MB / 3.812 GB, free: 9.363 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.879e-05/10.25, allocations: 87.38 kB / 3.813 GB, free: 9.363 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/10.25, allocations: 3.719 kB / 3.813 GB, free: 9.363 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006738/10.26, allocations: 6.782 MB / 3.819 GB, free: 8.426 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/10.27, allocations: 10.77 MB / 3.83 GB, free: 7.645 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/10.27, allocations: 2.688 kB / 3.83 GB, free: 7.645 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/10.27, allocations: 345.3 kB / 3.83 GB, free: 7.645 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004572/10.28, allocations: 2.49 MB / 3.832 GB, free: 7.551 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002112/10.28, allocations: 67.25 kB / 3.832 GB, free: 7.551 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003459/10.28, allocations: 4.115 MB / 3.836 GB, free: 21.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/10.28, allocations: 0 / 3.836 GB, free: 21.44 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008292/10.29, allocations: 7.661 MB / 3.844 GB, free: 20.76 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001828/10.29, allocations: 0.7506 MB / 3.845 GB, free: 20.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003905/10.29, allocations: 52.25 kB / 3.845 GB, free: 20.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/10.29, allocations: 190.1 kB / 3.845 GB, free: 20.42 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002521/10.29, allocations: 141.4 kB / 3.845 GB, free: 20.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/10.29, allocations: 72.08 kB / 3.845 GB, free: 20.42 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001697/10.29, allocations: 1.234 MB / 3.846 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.61e-07/10.29, allocations: 0 / 3.846 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009428/10.3, allocations: 2.814 MB / 3.849 GB, free: 19.38 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (pipe1.mediums[1].p,pipe1.mediums[1].h,valve1.filter.x[1],valve1.filter.x[2],valve2.filter.x[1],valve2.filter.x[2],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,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse33.phase,$cse33.region,$cse35.region3boundary,$cse36.region3boundary,$cse37.phase,$cse37.region,$cse39.phase,$cse39.region,$cse41.region3boundary,$cse42.region3boundary,$cse43.phase,$cse43.region,$cse45.phase,$cse45.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 (168): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 19 * 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,3 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.01179/10.32, allocations: 2.82 MB / 3.852 GB, free: 18.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008145/10.32, allocations: 5.236 MB / 3.857 GB, free: 16.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/10.32, allocations: 2.812 kB / 3.857 GB, free: 16.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002876/10.33, allocations: 2.296 MB / 3.859 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004363/10.33, allocations: 0.8798 MB / 3.86 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5061/10.84, allocations: 126.2 MB / 3.983 GB, free: 48.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001883/10.84, allocations: 2.288 MB / 3.986 GB, free: 48.08 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004943/10.84, allocations: 2.394 MB / 3.988 GB, free: 47.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004597/10.84, allocations: 157.1 kB / 3.988 GB, free: 47.98 MB / 0.4948 GB Notification: Performance of SimCode: time 1.082e-06/10.84, allocations: 3.625 kB / 3.988 GB, free: 47.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.4195/11.26, allocations: 91.19 MB / 4.077 GB, free: 70.65 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.pipe 2>&1)