Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13.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.BranchingPipes13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01012/0.01012, allocations: 174 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.619/1.619, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.001883/0.001883, allocations: 124.5 kB / 255.6 MB, free: 10.23 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.1974/0.1974, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006351/0.000635, allocations: 15.94 kB / 406.2 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.157, allocations: 54.87 MB / 461 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.143/6.3, allocations: 2.656 GB / 3.107 GB, free: 8.117 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/6.301, allocations: 79.16 kB / 3.107 GB, free: 8.078 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.832/9.133, allocations: 0.8649 GB / 3.972 GB, free: 36.25 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.764e-06/9.133, allocations: 0 / 3.972 GB, free: 36.25 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001588/9.133, allocations: 66.41 kB / 3.972 GB, free: 36.24 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 476 * Number of variables: 476 Notification: Performance of Generate backend data structure: time 0.01377/9.147, allocations: 4.088 MB / 3.976 GB, free: 34.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/9.147, allocations: 7.25 kB / 3.976 GB, free: 34.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005675/9.153, allocations: 0.7828 MB / 3.976 GB, free: 34.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005221/9.158, allocations: 1.966 MB / 3.978 GB, free: 33.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/9.158, allocations: 160.5 kB / 3.979 GB, free: 33.75 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004561/9.159, allocations: 177.1 kB / 3.979 GB, free: 33.75 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006459/9.165, allocations: 3.296 MB / 3.982 GB, free: 33.28 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.756e-05/9.165, allocations: 9.469 kB / 3.982 GB, free: 33.28 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002527/9.165, allocations: 79.05 kB / 3.982 GB, free: 33.28 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000184/9.166, allocations: 148 kB / 3.982 GB, free: 33.27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006164/9.172, allocations: 3.021 MB / 3.985 GB, free: 33.26 MB / 0.5105 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.01516/9.187, allocations: 14.06 MB / 3.999 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004064/9.191, allocations: 2.015 MB / 4.001 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02897/9.22, allocations: 18.89 MB / 4.019 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003598/9.224, allocations: 1.553 MB / 4.021 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001313/9.225, allocations: 170.4 kB / 4.021 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=146): time 4.799e-06/9.225, allocations: 0 / 4.021 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=158): time 0.01853/9.244, allocations: 8.193 MB / 4.029 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/9.244, allocations: 263 kB / 4.029 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/9.245, allocations: 1.349 MB / 4.03 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000182/9.246, allocations: 54.45 kB / 4.031 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006604/9.246, allocations: 0.9035 MB / 4.031 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003755/9.247, allocations: 0.522 MB / 4.032 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/9.247, allocations: 32.31 kB / 4.032 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005534/9.247, allocations: 377.6 kB / 4.032 GB, free: 25.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/9.249, allocations: 1.016 MB / 4.033 GB, free: 25.89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/9.251, allocations: 1.422 MB / 4.035 GB, free: 25.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/9.252, allocations: 1.248 MB / 4.036 GB, free: 25.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/9.253, allocations: 3.031 kB / 4.036 GB, free: 25.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.005384/9.258, allocations: 3.127 MB / 4.039 GB, free: 25.03 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001392/9.259, allocations: 4.37 MB / 4.043 GB, free: 20.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/9.259, allocations: 10.59 kB / 4.043 GB, free: 20.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002828/9.262, allocations: 0.6182 MB / 4.044 GB, free: 20.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/9.264, allocations: 435.1 kB / 4.044 GB, free: 20.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/9.266, allocations: 2.835 MB / 4.047 GB, free: 18.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/9.268, allocations: 234.2 kB / 4.047 GB, free: 18.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002126/9.269, allocations: 104.3 kB / 4.047 GB, free: 18.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/9.269, allocations: 6.906 kB / 4.047 GB, free: 18.18 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004349/9.273, allocations: 2.723 MB / 4.05 GB, free: 17.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/9.273, allocations: 14.22 kB / 4.05 GB, free: 17.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006186/9.274, allocations: 203.1 kB / 4.05 GB, free: 17.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/9.275, allocations: 459.4 kB / 4.051 GB, free: 17.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/9.276, allocations: 1.887 MB / 4.053 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/9.278, allocations: 230.8 kB / 4.053 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/9.279, allocations: 94.19 kB / 4.053 GB, free: 15.62 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 29 (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_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,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled,pipe3.state_b.phase,pipe2.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 (205): * Single equations (assignments): 199 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.001328/9.28, allocations: 0.7069 MB / 4.054 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003301/9.28, allocations: 189.4 kB / 4.054 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008278/9.288, allocations: 7.427 MB / 4.061 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.391e-05/9.289, allocations: 83.19 kB / 4.061 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/9.289, allocations: 3.938 kB / 4.061 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006705/9.295, allocations: 6.516 MB / 4.067 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01348/9.309, allocations: 10.32 MB / 4.077 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-06/9.309, allocations: 0 / 4.077 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/9.31, allocations: 326.8 kB / 4.078 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00331/9.314, allocations: 1.387 MB / 4.079 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002452/9.314, allocations: 62.91 kB / 4.079 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002755/9.317, allocations: 3.467 MB / 4.083 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/9.317, allocations: 0 / 4.083 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01015/9.327, allocations: 7.24 MB / 4.09 GB, free: 5.977 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001743/9.329, allocations: 0.7033 MB / 4.09 GB, free: 5.344 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003791/9.329, allocations: 51.45 kB / 4.09 GB, free: 5.297 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/9.33, allocations: 193.2 kB / 4.091 GB, free: 5.152 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000257/9.331, allocations: 131 kB / 4.091 GB, free: 5.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/9.331, allocations: 63.59 kB / 4.091 GB, free: 5.016 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001655/9.332, allocations: 1.144 MB / 4.092 GB, free: 4.043 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/9.332, allocations: 4 kB / 4.092 GB, free: 4.039 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01025/9.343, allocations: 2.706 MB / 4.095 GB, free: 1.395 MB / 0.5417 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,pipe2.mediums[1].p,pipe2.mediums[1].h,pipe3.mediums[1].p,pipe3.mediums[1].h) * Number of discrete variables: 55 ($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,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 12 (valveOpening2.nextEvent,valveOpening2.last,valveOpening2.nextEventScaled,valveOpening2.b,valveOpening2.a,$whenCondition2,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 (164): * Single equations (assignments): 138 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.2748/9.618, allocations: 2.861 MB / 4.097 GB, free: 65.54 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009024/9.627, allocations: 4.842 MB / 4.102 GB, free: 65.23 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/9.627, allocations: 1.031 kB / 4.102 GB, free: 65.23 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003135/9.63, allocations: 2.315 MB / 4.104 GB, free: 65.08 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004321/9.634, allocations: 0.9021 MB / 4.105 GB, free: 65.05 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1922/9.826, allocations: 129.9 MB / 4.232 GB, free: 51.95 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001376/9.828, allocations: 2.179 MB / 4.234 GB, free: 51.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003731/9.832, allocations: 2.17 MB / 4.236 GB, free: 49.82 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004909/9.832, allocations: 177.9 kB / 4.236 GB, free: 49.68 MB / 0.5417 GB Notification: Performance of SimCode: time 1.432e-06/9.832, allocations: 0 / 4.236 GB, free: 49.68 MB / 0.5417 GB Notification: Performance of Templates: time 0.3435/10.18, allocations: 81.64 MB / 4.316 GB, free: 59.87 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13.pipe 2>&1)