Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.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.BranchingPipes18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001338/0.001338, allocations: 169.8 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.067/1.067, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001554/0.001554, allocations: 118.8 kB / 223.2 MB, free: 4.043 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.1502/0.1502, allocations: 37.98 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.183e-05/2.191e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06576/0.06579, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.851/4.917, allocations: 2.567 GB / 2.963 GB, free: 109.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/4.917, allocations: 74.16 kB / 2.963 GB, free: 109.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.462/9.379, allocations: 0.9822 GB / 3.945 GB, free: 32.61 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.809e-06/9.379, allocations: 0.6875 kB / 3.945 GB, free: 32.61 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003862/9.379, allocations: 69.77 kB / 3.945 GB, free: 32.61 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: 571 * Number of variables: 571 Notification: Performance of Generate backend data structure: time 0.02656/9.406, allocations: 4.106 MB / 3.949 GB, free: 30.81 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.785e-05/9.406, allocations: 9.219 kB / 3.949 GB, free: 30.81 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009408/9.416, allocations: 0.913 MB / 3.95 GB, free: 30.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01246/9.428, allocations: 2.185 MB / 3.952 GB, free: 30.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004665/9.429, allocations: 196.8 kB / 3.953 GB, free: 30.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001482/9.43, allocations: 224.1 kB / 3.953 GB, free: 30.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01322/9.443, allocations: 3.86 MB / 3.957 GB, free: 29.58 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-05/9.444, allocations: 7.25 kB / 3.957 GB, free: 29.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004958/9.444, allocations: 95.22 kB / 3.957 GB, free: 29.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004182/9.444, allocations: 177.4 kB / 3.957 GB, free: 29.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008994/9.453, allocations: 3.429 MB / 3.96 GB, free: 29.54 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.02881/9.482, allocations: 16.71 MB / 3.977 GB, free: 19.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006844/9.489, allocations: 3.028 MB / 3.98 GB, free: 18.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002375/9.492, allocations: 1.224 MB / 3.981 GB, free: 18.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03791/9.53, allocations: 18.59 MB / 3.999 GB, free: 23.26 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005399/9.535, allocations: 1.84 MB / 4.001 GB, free: 23.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=188): time 6.622e-06/9.535, allocations: 0 / 4.001 GB, free: 23.13 MB / 0.4948 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: junctionVolume.medium.h Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=208): time 0.0294/9.565, allocations: 10.89 MB / 4.011 GB, free: 21.94 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/9.565, allocations: 264.5 kB / 4.012 GB, free: 21.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/9.567, allocations: 1.42 MB / 4.013 GB, free: 21.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003845/9.568, allocations: 68.3 kB / 4.013 GB, free: 21.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001315/9.569, allocations: 1.045 MB / 4.014 GB, free: 20.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009359/9.57, allocations: 0.695 MB / 4.015 GB, free: 20.51 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/9.57, allocations: 46.53 kB / 4.015 GB, free: 20.51 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002616/9.57, allocations: 400.4 kB / 4.015 GB, free: 20.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002141/9.573, allocations: 1.114 MB / 4.016 GB, free: 20.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002478/9.575, allocations: 1.67 MB / 4.018 GB, free: 19.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/9.577, allocations: 1.385 MB / 4.019 GB, free: 19.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/9.577, allocations: 6.219 kB / 4.019 GB, free: 19.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.006142/9.584, allocations: 3.468 MB / 4.023 GB, free: 19.26 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002097/9.586, allocations: 5.65 MB / 4.028 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-05/9.586, allocations: 16.25 kB / 4.028 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/9.587, allocations: 329.9 kB / 4.028 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002673/9.59, allocations: 0.5993 MB / 4.029 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/9.592, allocations: 3.098 MB / 4.032 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003865/9.596, allocations: 327.2 kB / 4.032 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003859/9.596, allocations: 127 kB / 4.032 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/9.596, allocations: 3.938 kB / 4.032 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006232/9.602, allocations: 3.176 MB / 4.036 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.022e-05/9.602, allocations: 17.88 kB / 4.036 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/9.603, allocations: 340.3 kB / 4.036 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002549/9.606, allocations: 0.5822 MB / 4.036 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/9.609, allocations: 3.099 MB / 4.04 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003811/9.612, allocations: 333.5 kB / 4.04 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004522/9.613, allocations: 121.1 kB / 4.04 GB, free: 7.875 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 29 (valve2.state_b.phase,valve2.state_a.phase,valve1.state_b.phase,valve1.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,junctionIdeal.medium.phase,junctionVolume.medium.phase,pipe3.state_a.phase,pipe3.state_b.phase,pipe2.state_a.phase,pipe2.state_b.phase,pipe1.state_b.phase,pipe1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (287): * Single equations (assignments): 280 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 6,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001119/9.614, allocations: 332.9 kB / 4.04 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008621/9.615, allocations: 224.9 kB / 4.04 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/9.628, allocations: 8.112 MB / 4.048 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.204e-05/9.628, allocations: 90.23 kB / 4.048 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.568e-05/9.628, allocations: 0.625 kB / 4.048 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00924/9.637, allocations: 7.036 MB / 4.055 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02133/9.658, allocations: 13.01 MB / 4.068 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.311e-05/9.658, allocations: 3.906 kB / 4.068 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/9.66, allocations: 486.8 kB / 4.069 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001516/9.662, allocations: 459 kB / 4.069 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000328/9.662, allocations: 80.33 kB / 4.069 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002597/9.665, allocations: 3.211 MB / 4.072 GB, free: 17.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/9.665, allocations: 14.55 kB / 4.072 GB, free: 17.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01084/9.676, allocations: 8.089 MB / 4.08 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002557/9.678, allocations: 0.7995 MB / 4.081 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005973/9.679, allocations: 68 kB / 4.081 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002219/9.681, allocations: 226.7 kB / 4.081 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003953/9.682, allocations: 188.3 kB / 4.081 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002044/9.682, allocations: 92.27 kB / 4.081 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001998/9.684, allocations: 1.178 MB / 4.083 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.31e-07/9.684, allocations: 0 / 4.083 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01531/9.699, allocations: 2.883 MB / 4.085 GB, free: 15.21 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 9 (pipe1.mediums[1].p,pipe1.mediums[1].h,pipe2.mediums[1].p,pipe2.mediums[1].h,pipe3.mediums[1].p,pipe3.mediums[1].h,junctionIdeal.medium.p,junctionIdeal.medium.h,junctionVolume.medium.h) * Number of discrete variables: 57 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse12.phase,$cse12.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse35.phase,$cse35.region,$cse38.phase,$cse38.region,$cse40.region3boundary,$cse41.region3boundary,$cse42.phase,$cse42.region,$cse44.region3boundary,$cse45.region3boundary,$cse46.phase,$cse46.region,$cse48.phase,$cse48.region,$cse49.region3boundary,$cse50.region3boundary,$cse51.phase,$cse51.region,$cse52.phase,$cse52.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,junctionIdeal.medium.phase,junctionVolume.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 (237): * Single equations (assignments): 206 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 24 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,2 4,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01768/9.717, allocations: 3.005 MB / 4.088 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01454/9.732, allocations: 5.538 MB / 4.094 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.971e-05/9.732, allocations: 3.125 kB / 4.094 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005958/9.738, allocations: 2.888 MB / 4.097 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008036/9.746, allocations: 1.12 MB / 4.098 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7136/10.46, allocations: 127 MB / 4.222 GB, free: 51.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002091/10.46, allocations: 2.383 MB / 4.224 GB, free: 50.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006262/10.47, allocations: 2.695 MB / 4.227 GB, free: 50.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007319/10.47, allocations: 202.4 kB / 4.227 GB, free: 50.8 MB / 0.5105 GB Notification: Performance of SimCode: time 2.945e-06/10.47, allocations: 4 kB / 4.227 GB, free: 50.79 MB / 0.5105 GB Notification: Performance of Templates: time 0.6258/11.09, allocations: 98.11 MB / 4.323 GB, free: 72.63 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe 2>&1)