Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.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.BranchingPipes4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001214/0.001214, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.605/1.605, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.001596/0.001597, allocations: 103.5 kB / 218 MB, free: 8.406 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.2033/0.2033, allocations: 37.98 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.896e-05/1.899e-05, allocations: 2.281 kB / 350 MB, free: 36.99 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1117, allocations: 48.73 MB / 398.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.587/7.699, allocations: 2.549 GB / 2.938 GB, free: 115.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/7.699, allocations: 79.39 kB / 2.938 GB, free: 115.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597/11.3, allocations: 0.8687 GB / 3.807 GB, free: 31.96 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.613e-06/11.3, allocations: 0 / 3.807 GB, free: 31.96 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003499/11.3, allocations: 64.67 kB / 3.807 GB, free: 31.95 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: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.01652/11.31, allocations: 3.908 MB / 3.811 GB, free: 30.17 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/11.31, allocations: 10.44 kB / 3.811 GB, free: 30.17 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006995/11.32, allocations: 0.8404 MB / 3.812 GB, free: 30.03 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006681/11.33, allocations: 2.068 MB / 3.814 GB, free: 29.58 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002433/11.33, allocations: 93.22 kB / 3.814 GB, free: 29.58 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001002/11.33, allocations: 118.8 kB / 3.814 GB, free: 29.58 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005608/11.33, allocations: 2.653 MB / 3.816 GB, free: 29.57 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006326/11.34, allocations: 2.86 MB / 3.819 GB, free: 29.05 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-05/11.34, allocations: 9.922 kB / 3.819 GB, free: 29.05 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004755/11.34, allocations: 11.41 kB / 3.819 GB, free: 29.05 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002032/11.34, allocations: 168.2 kB / 3.819 GB, free: 29.04 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.2312/11.57, allocations: 109.5 MB / 3.926 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003103/11.58, allocations: 2.062 MB / 3.928 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/11.58, allocations: 0.9432 MB / 3.929 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3718/11.95, allocations: 17.53 MB / 3.946 GB, free: 74.67 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002187/11.95, allocations: 1.15 MB / 3.948 GB, free: 74.51 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=149): time 4.027e-06/11.95, allocations: 4.594 kB / 3.948 GB, free: 74.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=165): time 0.02208/11.97, allocations: 7.778 MB / 3.955 GB, free: 73.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/11.97, allocations: 368.1 kB / 3.955 GB, free: 72.65 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/11.98, allocations: 1.14 MB / 3.957 GB, free: 72.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003314/11.98, allocations: 29.8 kB / 3.957 GB, free: 72.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008956/11.98, allocations: 1.032 MB / 3.958 GB, free: 72.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006109/11.98, allocations: 0.537 MB / 3.958 GB, free: 71.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/11.98, allocations: 0 / 3.958 GB, free: 71.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001261/11.98, allocations: 389.3 kB / 3.959 GB, free: 71.51 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/11.98, allocations: 0.9819 MB / 3.959 GB, free: 71.51 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/11.98, allocations: 1.438 MB / 3.961 GB, free: 71.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/11.99, allocations: 2.779 MB / 3.964 GB, free: 71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.458e-05/11.99, allocations: 8.094 kB / 3.964 GB, free: 71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01481/12.01, allocations: 4.458 MB / 3.968 GB, free: 70.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009698/12.01, allocations: 4.949 MB / 3.973 GB, free: 65.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/12.01, allocations: 10.09 kB / 3.973 GB, free: 65.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00054/12.01, allocations: 217.3 kB / 3.973 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/12.01, allocations: 0.5209 MB / 3.974 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/12.01, allocations: 2.453 MB / 3.976 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/12.01, allocations: 276.3 kB / 3.976 GB, free: 63.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000216/12.01, allocations: 104.2 kB / 3.976 GB, free: 63.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/12.01, allocations: 7.797 kB / 3.976 GB, free: 63.62 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01247/12.03, allocations: 4.027 MB / 3.98 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.752e-05/12.03, allocations: 10.94 kB / 3.98 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004851/12.03, allocations: 220.1 kB / 3.98 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/12.03, allocations: 0.5093 MB / 3.981 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/12.03, allocations: 2.46 MB / 3.983 GB, free: 61.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002555/12.03, allocations: 245.7 kB / 3.984 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002353/12.03, allocations: 99.72 kB / 3.984 GB, free: 61.43 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 28 (pipe3.state_a.phase,pipe2.state_a.phase,valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,valveIncompressible.state_b.phase,valveIncompressible.state_a.phase,pipe1.state_b.phase,pipe1.state_a.phase,$whenCondition1,$whenCondition2,pipe1.statesFM[2].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,splitter.medium.phase,source.medium.phase,sink.medium.phase,pipe3.state_b.phase,pipe2.state_b.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 241 * 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,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006575/12.03, allocations: 232.2 kB / 3.984 GB, free: 61.26 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004704/12.03, allocations: 189.6 kB / 3.984 GB, free: 61.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008139/12.04, allocations: 6.316 MB / 3.99 GB, free: 60.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.992e-05/12.04, allocations: 73.94 kB / 3.99 GB, free: 60.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/12.04, allocations: 0 / 3.99 GB, free: 60.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00596/12.05, allocations: 5.277 MB / 3.995 GB, free: 59.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/12.06, allocations: 9.017 MB / 4.004 GB, free: 59.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/12.06, allocations: 0 / 4.004 GB, free: 59.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/12.06, allocations: 358.2 kB / 4.005 GB, free: 59.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007748/12.06, allocations: 326.9 kB / 4.005 GB, free: 59.08 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001568/12.06, allocations: 38.62 kB / 4.005 GB, free: 59.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/12.06, allocations: 2.631 MB / 4.008 GB, free: 56.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/12.06, allocations: 3.969 kB / 4.008 GB, free: 56.99 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008151/12.07, allocations: 6.236 MB / 4.014 GB, free: 56.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001536/12.07, allocations: 0.6886 MB / 4.014 GB, free: 56.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006417/12.08, allocations: 17.33 kB / 4.014 GB, free: 56.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001918/12.08, allocations: 172.9 kB / 4.014 GB, free: 56.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002461/12.08, allocations: 138.2 kB / 4.015 GB, free: 56.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/12.08, allocations: 74.75 kB / 4.015 GB, free: 56.11 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001663/12.08, allocations: 1.034 MB / 4.016 GB, free: 56 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.5e-07/12.08, allocations: 1.812 kB / 4.016 GB, free: 56 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01082/12.09, allocations: 2.68 MB / 4.018 GB, free: 55.88 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (pipe1.mediums[1].p,pipe1.mediums[1].h,pipe2.mediums[1].p,pipe2.mediums[1].h,pipe3.mediums[1].p,pipe3.mediums[1].h,splitter.medium.p,splitter.medium.h) * Number of discrete variables: 44 ($cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse30.region3boundary,$cse31.region3boundary,$cse32.phase,$cse32.region,$cse34.phase,$cse34.region,$cse35.region3boundary,$cse36.region3boundary,$cse37.phase,$cse37.region,$whenCondition1,$whenCondition2,pipe1.statesFM[2].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,splitter.medium.phase) * 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 (183): * Single equations (assignments): 158 * 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,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01179/12.1, allocations: 3.126 MB / 4.021 GB, free: 55.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008536/12.11, allocations: 4.631 MB / 4.026 GB, free: 55.24 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/12.11, allocations: 1.422 kB / 4.026 GB, free: 55.24 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003821/12.11, allocations: 2.108 MB / 4.028 GB, free: 55.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005737/12.12, allocations: 0.8508 MB / 4.029 GB, free: 55.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00988/12.13, allocations: 5.409 MB / 4.034 GB, free: 54.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002098/12.13, allocations: 2.189 MB / 4.036 GB, free: 53.25 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005406/12.14, allocations: 2.558 MB / 4.039 GB, free: 53.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007087/12.14, allocations: 164.3 kB / 4.039 GB, free: 53.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.343e-06/12.14, allocations: 2.875 kB / 4.039 GB, free: 53.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.09968/12.24, allocations: 73.39 MB / 4.111 GB, free: 33.23 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.pipe 2>&1)