Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.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.BranchingPipes3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001153/0.001153, allocations: 176 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.678/1.678, allocations: 194.4 MB / 202.4 MB, free: 13.02 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.001659/0.001659, allocations: 115.5 kB / 247.4 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.211/0.211, allocations: 39.95 MB / 332.2 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.427e-05/1.422e-05, allocations: 4 kB / 393.3 MB, free: 3.453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.281, allocations: 54.87 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.594/7.875, allocations: 2.673 GB / 3.11 GB, free: 101.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/7.875, allocations: 73.05 kB / 3.11 GB, free: 101.6 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.585/11.46, allocations: 0.8605 GB / 3.971 GB, free: 38.81 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.703e-06/11.46, allocations: 2.406 kB / 3.971 GB, free: 38.81 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003204/11.46, allocations: 60.45 kB / 3.971 GB, free: 38.8 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.0155/11.48, allocations: 3.754 MB / 3.975 GB, free: 37.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/11.48, allocations: 7.812 kB / 3.975 GB, free: 37.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006556/11.48, allocations: 0.7898 MB / 3.975 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008134/11.49, allocations: 1.974 MB / 3.977 GB, free: 36.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003237/11.49, allocations: 81.73 kB / 3.977 GB, free: 36.62 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/11.49, allocations: 110.3 kB / 3.977 GB, free: 36.62 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00527/11.5, allocations: 2.292 MB / 3.98 GB, free: 36.61 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005766/11.5, allocations: 2.531 MB / 3.982 GB, free: 36.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.663e-05/11.5, allocations: 14.12 kB / 3.982 GB, free: 36.13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005172/11.5, allocations: 5.219 kB / 3.982 GB, free: 36.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002288/11.5, allocations: 148 kB / 3.982 GB, free: 36.13 MB / 0.5105 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.2342/11.74, allocations: 108.1 MB / 4.088 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003208/11.74, allocations: 1.434 MB / 4.089 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001959/11.74, allocations: 0.947 MB / 4.09 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.033/11.78, allocations: 17.47 MB / 4.107 GB, free: 16.21 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002417/11.78, allocations: 1.139 MB / 4.108 GB, free: 16.05 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001564/11.78, allocations: 141.3 kB / 4.109 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=145): time 8.747e-06/11.78, allocations: 0 / 4.109 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of matching and sorting (n=157): time 0.0346/11.82, allocations: 8.754 MB / 4.117 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002014/11.82, allocations: 362.6 kB / 4.117 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/11.82, allocations: 1.018 MB / 4.118 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003536/11.82, allocations: 32.98 kB / 4.118 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007659/11.82, allocations: 0.9389 MB / 4.119 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005987/11.82, allocations: 0.5005 MB / 4.12 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/11.82, allocations: 9.469 kB / 4.12 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001915/11.82, allocations: 382.8 kB / 4.12 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/11.82, allocations: 0.895 MB / 4.121 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/11.82, allocations: 1.321 MB / 4.122 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007797/11.83, allocations: 1.825 MB / 4.124 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-05/11.83, allocations: 3.938 kB / 4.124 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01079/11.84, allocations: 3.452 MB / 4.128 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00161/11.84, allocations: 4.315 MB / 4.132 GB, free: 7.492 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.967e-05/11.84, allocations: 12.47 kB / 4.132 GB, free: 7.492 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001851/11.85, allocations: 495.1 kB / 4.132 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/11.85, allocations: 457.2 kB / 4.133 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/11.85, allocations: 2.813 MB / 4.135 GB, free: 21.36 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/11.85, allocations: 268.6 kB / 4.136 GB, free: 21.27 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002922/11.85, allocations: 94.42 kB / 4.136 GB, free: 21.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/11.85, allocations: 4 kB / 4.136 GB, free: 21.2 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009623/11.86, allocations: 2.936 MB / 4.139 GB, free: 19.55 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.494e-05/11.86, allocations: 16.16 kB / 4.139 GB, free: 19.53 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005302/11.86, allocations: 183.1 kB / 4.139 GB, free: 19.42 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/11.86, allocations: 468.9 kB / 4.139 GB, free: 19.08 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/11.87, allocations: 1.898 MB / 4.141 GB, free: 17.32 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/11.87, allocations: 238.6 kB / 4.141 GB, free: 17.14 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002862/11.87, allocations: 105.5 kB / 4.141 GB, free: 17.07 MB / 0.573 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 (valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,valveIncompressible.state_b.phase,valveIncompressible.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,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled,source.medium.phase,sink.medium.phase,pipe3.state_a.phase,pipe3.state_b.phase,pipe2.state_a.phase,pipe2.state_b.phase,pipe1.state_a.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 209 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006694/11.87, allocations: 229.2 kB / 4.142 GB, free: 16.87 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005209/11.87, allocations: 176.2 kB / 4.142 GB, free: 16.7 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/11.88, allocations: 6.668 MB / 4.148 GB, free: 13 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.546e-05/11.88, allocations: 66.42 kB / 4.148 GB, free: 12.98 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/11.88, allocations: 5.875 kB / 4.148 GB, free: 12.98 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01136/11.89, allocations: 5.82 MB / 4.154 GB, free: 9.527 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01938/11.91, allocations: 9.9 MB / 4.164 GB, free: 4.211 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.16e-05/11.91, allocations: 4.562 kB / 4.164 GB, free: 4.207 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/11.92, allocations: 317 kB / 4.164 GB, free: 3.969 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002113/11.92, allocations: 1.241 MB / 4.165 GB, free: 3.105 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001994/11.92, allocations: 41.8 kB / 4.165 GB, free: 3.082 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002862/11.92, allocations: 3.391 MB / 4.169 GB, free: 332 kB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/11.92, allocations: 9.969 kB / 4.169 GB, free: 324 kB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3744/12.3, allocations: 7.062 MB / 4.176 GB, free: 98.18 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/12.3, allocations: 0.6515 MB / 4.176 GB, free: 98.09 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003993/12.3, allocations: 24.09 kB / 4.176 GB, free: 98.09 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/12.3, allocations: 146.3 kB / 4.176 GB, free: 98.09 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/12.3, allocations: 141 kB / 4.177 GB, free: 98.09 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001543/12.3, allocations: 76.09 kB / 4.177 GB, free: 98.09 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001402/12.3, allocations: 0.9535 MB / 4.178 GB, free: 97.98 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.8e-07/12.3, allocations: 2.719 kB / 4.178 GB, free: 97.98 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009911/12.31, allocations: 2.471 MB / 4.18 GB, free: 97.98 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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: 45 ($cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse9.phase,$cse9.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.phase,$cse30.region,$cse31.region3boundary,$cse32.region3boundary,$cse33.phase,$cse33.region,$cse35.phase,$cse35.region,$whenCondition1,$whenCondition2,pipe1.statesFM[2].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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 16 * 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 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.01306/12.32, allocations: 2.942 MB / 4.183 GB, free: 97.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.006241/12.33, allocations: 4.315 MB / 4.187 GB, free: 97.49 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/12.33, allocations: 2.406 kB / 4.187 GB, free: 97.49 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0025/12.33, allocations: 2.143 MB / 4.189 GB, free: 97.36 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004242/12.34, allocations: 0.7922 MB / 4.19 GB, free: 97.33 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007106/12.34, allocations: 5.102 MB / 4.195 GB, free: 96.23 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/12.35, allocations: 2.101 MB / 4.197 GB, free: 95.48 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.004374/12.35, allocations: 2.465 MB / 4.199 GB, free: 95.43 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004635/12.35, allocations: 151.7 kB / 4.199 GB, free: 95.43 MB / 0.573 GB Notification: Performance of SimCode: time 1.643e-06/12.35, allocations: 0.7656 kB / 4.199 GB, free: 95.43 MB / 0.573 GB Notification: Performance of Templates: time 0.09046/12.44, allocations: 69.82 MB / 4.268 GB, free: 91.59 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.pipe 2>&1)