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.002371/0.002371, allocations: 181.8 kB / 12.74 MB, free: 2.582 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.842/1.842, allocations: 194.3 MB / 207.5 MB, free: 3.391 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.001639/0.001638, allocations: 116.3 kB / 252.6 MB, free: 4.773 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2558/0.2558, allocations: 39.95 MB / 337.5 MB, free: 464 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.914e-05/3.918e-05, allocations: 0 / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1361, allocations: 54.87 MB / 455.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.683/7.819, allocations: 2.678 GB / 3.122 GB, free: 55.88 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/7.82, allocations: 79.95 kB / 3.122 GB, free: 55.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.969/11.79, allocations: 1.008 GB / 4.13 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.665e-06/11.79, allocations: 0 / 4.13 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003053/11.79, allocations: 70.39 kB / 4.13 GB, free: 0.9453 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: 575 * Number of variables: 575 Notification: Performance of Generate backend data structure: time 0.02254/11.81, allocations: 4.234 MB / 4.134 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/11.81, allocations: 8.031 kB / 4.134 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01165/11.82, allocations: 0.941 MB / 4.135 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009766/11.83, allocations: 2.208 MB / 4.137 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004556/11.83, allocations: 196.2 kB / 4.137 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001221/11.83, allocations: 220 kB / 4.137 GB, free: 9.059 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/11.85, allocations: 3.869 MB / 4.141 GB, free: 4.945 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.429e-05/11.85, allocations: 11.88 kB / 4.141 GB, free: 4.934 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004812/11.85, allocations: 95.97 kB / 4.141 GB, free: 4.84 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003646/11.85, allocations: 175.9 kB / 4.141 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008526/11.86, allocations: 3.439 MB / 4.145 GB, free: 1.207 MB / 0.5261 GB 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.4734/12.33, allocations: 16.72 MB / 4.161 GB, free: 25.72 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005829/12.34, allocations: 3.033 MB / 4.164 GB, free: 25.12 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001844/12.34, allocations: 1.23 MB / 4.165 GB, free: 25.11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03949/12.38, allocations: 18.62 MB / 4.184 GB, free: 29.56 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005419/12.39, allocations: 1.852 MB / 4.185 GB, free: 29.43 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=192): time 5.68e-06/12.39, allocations: 0 / 4.185 GB, free: 29.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=212): time 0.02163/12.41, allocations: 8.661 MB / 4.194 GB, free: 28.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/12.41, allocations: 257.4 kB / 4.194 GB, free: 28.12 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00224/12.41, allocations: 1.43 MB / 4.195 GB, free: 27.88 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003208/12.41, allocations: 67.05 kB / 4.195 GB, free: 27.85 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008564/12.41, allocations: 1.046 MB / 4.197 GB, free: 27.52 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000605/12.41, allocations: 0.7004 MB / 4.197 GB, free: 27.17 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/12.41, allocations: 51.94 kB / 4.197 GB, free: 27.17 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001812/12.41, allocations: 409.4 kB / 4.198 GB, free: 26.86 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/12.41, allocations: 1.126 MB / 4.199 GB, free: 26.86 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001908/12.42, allocations: 1.67 MB / 4.2 GB, free: 26.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001912/12.42, allocations: 1.399 MB / 4.202 GB, free: 26.21 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/12.42, allocations: 3.969 kB / 4.202 GB, free: 26.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=309) (initialization): time 0.005705/12.42, allocations: 3.447 MB / 4.205 GB, free: 25.91 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002243/12.43, allocations: 5.656 MB / 4.211 GB, free: 19.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/12.43, allocations: 14.72 kB / 4.211 GB, free: 19.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/12.43, allocations: 331.2 kB / 4.211 GB, free: 19.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/12.43, allocations: 0.6038 MB / 4.212 GB, free: 19.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/12.43, allocations: 3.091 MB / 4.215 GB, free: 17.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003291/12.43, allocations: 337.2 kB / 4.215 GB, free: 17.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002936/12.43, allocations: 124.1 kB / 4.215 GB, free: 17.34 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/12.43, allocations: 2.781 kB / 4.215 GB, free: 17.34 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005136/12.44, allocations: 3.159 MB / 4.218 GB, free: 17.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-05/12.44, allocations: 14.47 kB / 4.218 GB, free: 17.19 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009771/12.44, allocations: 337.4 kB / 4.218 GB, free: 17.15 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002239/12.44, allocations: 0.5909 MB / 4.219 GB, free: 17.15 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002309/12.45, allocations: 3.094 MB / 4.222 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003038/12.45, allocations: 334.7 kB / 4.222 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003566/12.45, allocations: 119.8 kB / 4.222 GB, free: 14.55 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 () * 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.0009199/12.45, allocations: 331.7 kB / 4.223 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006626/12.45, allocations: 225.2 kB / 4.223 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/12.46, allocations: 8.1 MB / 4.231 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.941e-05/12.46, allocations: 91.58 kB / 4.231 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.895e-05/12.46, allocations: 3.75 kB / 4.231 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00958/12.47, allocations: 7.021 MB / 4.238 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02059/12.49, allocations: 13.02 MB / 4.251 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-05/12.49, allocations: 6.062 kB / 4.251 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001886/12.49, allocations: 485.2 kB / 4.251 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001442/12.49, allocations: 459.1 kB / 4.251 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003252/12.49, allocations: 84.94 kB / 4.252 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002663/12.5, allocations: 3.223 MB / 4.255 GB, free: 24.26 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/12.5, allocations: 7.594 kB / 4.255 GB, free: 24.26 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01049/12.51, allocations: 8.095 MB / 4.263 GB, free: 22.83 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002254/12.51, allocations: 0.8032 MB / 4.263 GB, free: 22.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008176/12.51, allocations: 60.11 kB / 4.263 GB, free: 22.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002638/12.51, allocations: 237.4 kB / 4.264 GB, free: 22.47 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004986/12.51, allocations: 195.3 kB / 4.264 GB, free: 22.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003001/12.51, allocations: 91.59 kB / 4.264 GB, free: 22.46 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003008/12.52, allocations: 1.183 MB / 4.265 GB, free: 22.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.11e-07/12.52, allocations: 0 / 4.265 GB, free: 22.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01345/12.53, allocations: 2.911 MB / 4.268 GB, free: 22.19 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) * 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.01353/12.54, allocations: 3.035 MB / 4.271 GB, free: 21.87 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01084/12.56, allocations: 5.62 MB / 4.276 GB, free: 21.51 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/12.56, allocations: 2.969 kB / 4.276 GB, free: 21.51 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004651/12.56, allocations: 2.941 MB / 4.279 GB, free: 21.38 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006201/12.57, allocations: 1.133 MB / 4.28 GB, free: 21.35 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5849/13.15, allocations: 128.4 MB / 4.406 GB, free: 62.63 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/13.15, allocations: 2.39 MB / 4.408 GB, free: 61.84 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.005718/13.16, allocations: 2.696 MB / 4.411 GB, free: 61.72 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009061/13.16, allocations: 202.8 kB / 4.411 GB, free: 61.72 MB / 0.5573 GB Notification: Performance of SimCode: time 1.193e-06/13.16, allocations: 0 / 4.411 GB, free: 61.72 MB / 0.5573 GB Notification: Performance of Templates: time 0.1313/13.29, allocations: 98.75 MB / 4.507 GB, free: 36.65 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)