Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.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.BranchingPipes18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005256/0.005256, allocations: 176 kB / 15.12 MB, free: 5.969 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.263/1.263, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.001651/0.001651, allocations: 124.6 kB / 255.6 MB, free: 10.24 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.1671/0.1671, allocations: 40.02 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003273, allocations: 15.44 kB / 406.2 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0759/0.07624, allocations: 54.88 MB / 461 MB, free: 3.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.693/5.77, allocations: 2.678 GB / 3.128 GB, free: 77.79 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004045/5.77, allocations: 78.88 kB / 3.128 GB, free: 77.79 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.563/10.33, allocations: 1.01 GB / 4.138 GB, free: 37.39 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.328e-06/10.33, allocations: 2.297 kB / 4.138 GB, free: 37.39 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003097/10.33, allocations: 67.62 kB / 4.138 GB, free: 37.38 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 575 * Number of variables: 575 Notification: Performance of Generate backend data structure: time 0.02136/10.36, allocations: 4.539 MB / 4.143 GB, free: 35.42 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/10.36, allocations: 8.031 kB / 4.143 GB, free: 35.42 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008171/10.36, allocations: 0.9402 MB / 4.144 GB, free: 35.27 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007789/10.37, allocations: 2.216 MB / 4.146 GB, free: 34.81 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002771/10.37, allocations: 197.4 kB / 4.146 GB, free: 34.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008772/10.37, allocations: 227.3 kB / 4.146 GB, free: 34.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008795/10.38, allocations: 3.904 MB / 4.15 GB, free: 34.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.982e-05/10.38, allocations: 17.47 kB / 4.15 GB, free: 34.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003436/10.38, allocations: 100.7 kB / 4.15 GB, free: 34.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002186/10.38, allocations: 168.8 kB / 4.15 GB, free: 34.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008201/10.39, allocations: 3.608 MB / 4.154 GB, free: 34.14 MB / 0.5261 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.02143/10.41, allocations: 16.73 MB / 4.17 GB, free: 24.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00639/10.42, allocations: 3.148 MB / 4.173 GB, free: 23.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03254/10.45, allocations: 18.55 MB / 4.191 GB, free: 27.89 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005262/10.46, allocations: 1.873 MB / 4.193 GB, free: 27.75 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=192): time 4.86e-06/10.46, allocations: 0 / 4.193 GB, free: 27.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=212): time 0.02729/10.48, allocations: 10.28 MB / 4.203 GB, free: 26.43 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001891/10.48, allocations: 266 kB / 4.204 GB, free: 26.14 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002863/10.49, allocations: 1.439 MB / 4.205 GB, free: 25.91 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005296/10.49, allocations: 68.17 kB / 4.205 GB, free: 25.88 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001215/10.49, allocations: 1.051 MB / 4.206 GB, free: 25.46 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008483/10.49, allocations: 0.7097 MB / 4.207 GB, free: 25.01 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/10.49, allocations: 47.94 kB / 4.207 GB, free: 25.01 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002498/10.49, allocations: 403.3 kB / 4.207 GB, free: 24.71 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002294/10.49, allocations: 1.272 MB / 4.208 GB, free: 24.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002672/10.49, allocations: 1.816 MB / 4.21 GB, free: 24.14 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/10.5, allocations: 1.534 MB / 4.212 GB, free: 24.04 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/10.5, allocations: 7 kB / 4.212 GB, free: 24.04 MB / 0.5417 GB Notification: Performance of matching and sorting (n=309) (initialization): time 0.006733/10.5, allocations: 3.709 MB / 4.215 GB, free: 23.71 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002207/10.51, allocations: 5.653 MB / 4.221 GB, free: 17.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.449e-05/10.51, allocations: 16.38 kB / 4.221 GB, free: 17.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/10.51, allocations: 352.1 kB / 4.221 GB, free: 17.69 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002435/10.51, allocations: 0.5971 MB / 4.222 GB, free: 17.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/10.51, allocations: 3.093 MB / 4.225 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003171/10.51, allocations: 339.1 kB / 4.225 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002659/10.52, allocations: 123.2 kB / 4.225 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/10.52, allocations: 3.75 kB / 4.225 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005858/10.52, allocations: 3.441 MB / 4.229 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/10.52, allocations: 14.64 kB / 4.229 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/10.52, allocations: 349.1 kB / 4.229 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00223/10.52, allocations: 0.5944 MB / 4.23 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/10.53, allocations: 3.098 MB / 4.233 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003019/10.53, allocations: 338.9 kB / 4.233 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/10.53, allocations: 116.8 kB / 4.233 GB, free: 12.19 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 31 (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,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled,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 () * Number of clocked 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.001709/10.53, allocations: 0.7899 MB / 4.234 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003903/10.53, allocations: 225.5 kB / 4.234 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01071/10.54, allocations: 8.234 MB / 4.242 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001041/10.54, allocations: 88.64 kB / 4.242 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/10.54, allocations: 0 / 4.242 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00872/10.55, allocations: 7.137 MB / 4.249 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0188/10.57, allocations: 13.17 MB / 4.262 GB, free: 6.293 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/10.57, allocations: 7.188 kB / 4.262 GB, free: 6.293 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001782/10.57, allocations: 485.9 kB / 4.262 GB, free: 6.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00162/10.57, allocations: 480.7 kB / 4.263 GB, free: 6.098 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002094/10.57, allocations: 77.72 kB / 4.263 GB, free: 6.066 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002367/10.58, allocations: 3.229 MB / 4.266 GB, free: 19.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/10.58, allocations: 3.781 kB / 4.266 GB, free: 19.19 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009855/10.59, allocations: 8.489 MB / 4.274 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002207/10.59, allocations: 0.7933 MB / 4.275 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004209/10.59, allocations: 65.81 kB / 4.275 GB, free: 14.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/10.59, allocations: 244.6 kB / 4.275 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003257/10.59, allocations: 186.3 kB / 4.276 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001811/10.59, allocations: 98.66 kB / 4.276 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001765/10.59, allocations: 1.204 MB / 4.277 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.91e-07/10.59, allocations: 0 / 4.277 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01444/10.61, allocations: 2.911 MB / 4.28 GB, free: 11.06 MB / 0.5573 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: 59 ($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,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,valveOpening2.nextEventScaled,junctionIdeal.medium.phase,junctionVolume.medium.phase) * 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 (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.01432/10.62, allocations: 3.04 MB / 4.283 GB, free: 8.754 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01265/10.63, allocations: 5.949 MB / 4.288 GB, free: 3.465 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/10.63, allocations: 0 / 4.288 GB, free: 3.465 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004783/10.64, allocations: 3.029 MB / 4.291 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3769/11.02, allocations: 1.137 MB / 4.293 GB, free: 64.39 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2164/11.23, allocations: 131.3 MB / 4.421 GB, free: 51.04 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001828/11.23, allocations: 2.383 MB / 4.423 GB, free: 50.22 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.005283/11.24, allocations: 2.52 MB / 4.426 GB, free: 50.13 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007458/11.24, allocations: 226.7 kB / 4.426 GB, free: 50.13 MB / 0.5573 GB Notification: Performance of SimCode: time 1.163e-06/11.24, allocations: 0 / 4.426 GB, free: 50.13 MB / 0.5573 GB Notification: Performance of Templates: time 0.4833/11.72, allocations: 92.17 MB / 4.516 GB, free: 61.52 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe 2>&1)