Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2.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.BranchingPipes2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001588/0.001588, allocations: 164.2 kB / 7.638 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.52/1.52, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.001646/0.001646, allocations: 99.47 kB / 218 MB, free: 8.426 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.1863/0.1863, allocations: 37.98 MB / 295.1 MB, free: 9.516 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.274e-05/2.268e-05, allocations: 1.875 kB / 350 MB, free: 37.03 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08852/0.08856, allocations: 48.72 MB / 398.7 MB, free: 5.383 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.726/7.815, allocations: 2.561 GB / 2.951 GB, free: 114.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003663/7.815, allocations: 79.61 kB / 2.951 GB, free: 114.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.179/10.99, allocations: 0.7724 GB / 3.723 GB, free: 11.44 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.264e-06/10.99, allocations: 0 / 3.723 GB, free: 11.44 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003225/10.99, allocations: 63.84 kB / 3.723 GB, free: 11.38 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 463 * Number of variables: 463 Notification: Performance of Generate backend data structure: time 0.01638/11.01, allocations: 3.528 MB / 3.727 GB, free: 7.805 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/11.01, allocations: 8.031 kB / 3.727 GB, free: 7.797 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006539/11.02, allocations: 0.7582 MB / 3.727 GB, free: 7.035 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006599/11.02, allocations: 1.975 MB / 3.729 GB, free: 5.039 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002076/11.02, allocations: 80.33 kB / 3.729 GB, free: 4.961 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009023/11.03, allocations: 115.9 kB / 3.73 GB, free: 4.848 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005088/11.03, allocations: 2.529 MB / 3.732 GB, free: 2.316 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005452/11.04, allocations: 2.509 MB / 3.734 GB, free: 15.64 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.338e-05/11.04, allocations: 7.938 kB / 3.735 GB, free: 15.63 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002589/11.04, allocations: 8 kB / 3.735 GB, free: 15.62 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002161/11.04, allocations: 147.1 kB / 3.735 GB, free: 15.48 MB / 474.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.5808/11.62, allocations: 107.8 MB / 3.84 GB, free: 22.3 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/11.62, allocations: 1.439 MB / 3.841 GB, free: 22.27 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/11.62, allocations: 0.9395 MB / 3.842 GB, free: 22.25 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0333/11.65, allocations: 17.45 MB / 3.859 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00242/11.66, allocations: 1.126 MB / 3.86 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001524/11.66, allocations: 149.7 kB / 3.861 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=141): time 6.833e-06/11.66, allocations: 0 / 3.861 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=153): time 0.03534/11.69, allocations: 8.755 MB / 3.869 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002169/11.69, allocations: 358.7 kB / 3.869 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002201/11.7, allocations: 1.012 MB / 3.87 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003434/11.7, allocations: 29.05 kB / 3.87 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009332/11.7, allocations: 0.9241 MB / 3.871 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006137/11.7, allocations: 0.4941 MB / 3.872 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/11.7, allocations: 4 kB / 3.872 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001957/11.7, allocations: 375.8 kB / 3.872 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/11.7, allocations: 0.8913 MB / 3.873 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/11.7, allocations: 1.308 MB / 3.874 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00762/11.71, allocations: 1.812 MB / 3.876 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-05/11.71, allocations: 6.094 kB / 3.876 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01345/11.72, allocations: 3.487 MB / 3.88 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002726/11.73, allocations: 4.307 MB / 3.884 GB, free: 18.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.845e-05/11.73, allocations: 9.844 kB / 3.884 GB, free: 18.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002017/11.73, allocations: 0.4942 MB / 3.884 GB, free: 18.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/11.73, allocations: 455.4 kB / 3.885 GB, free: 18.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/11.73, allocations: 2.816 MB / 3.887 GB, free: 16.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002824/11.74, allocations: 264.9 kB / 3.888 GB, free: 16.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005342/11.74, allocations: 95.86 kB / 3.888 GB, free: 16.24 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/11.74, allocations: 2.469 kB / 3.888 GB, free: 16.24 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01076/11.75, allocations: 2.964 MB / 3.891 GB, free: 16.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.603e-05/11.75, allocations: 9.375 kB / 3.891 GB, free: 16.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004455/11.75, allocations: 187 kB / 3.891 GB, free: 16.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001939/11.75, allocations: 471.7 kB / 3.891 GB, free: 16.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/11.75, allocations: 1.888 MB / 3.893 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/11.75, allocations: 233.6 kB / 3.893 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003846/11.75, allocations: 96.64 kB / 3.893 GB, free: 14.53 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 27 (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,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,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.0008443/11.75, allocations: 233.1 kB / 3.894 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005818/11.76, allocations: 178 kB / 3.894 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/11.77, allocations: 6.693 MB / 3.9 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.948e-05/11.77, allocations: 72.12 kB / 3.9 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/11.77, allocations: 3.594 kB / 3.9 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01141/11.78, allocations: 5.822 MB / 3.906 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01976/11.8, allocations: 9.9 MB / 3.916 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.067e-05/11.8, allocations: 8 kB / 3.916 GB, free: 9.691 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/11.8, allocations: 310.9 kB / 3.916 GB, free: 9.461 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002074/11.8, allocations: 1.269 MB / 3.917 GB, free: 8.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003174/11.8, allocations: 47.83 kB / 3.917 GB, free: 8.543 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003034/11.81, allocations: 3.4 MB / 3.921 GB, free: 5.781 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/11.81, allocations: 11.75 kB / 3.921 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01472/11.82, allocations: 7.083 MB / 3.928 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00203/11.82, allocations: 0.6482 MB / 3.928 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000782/11.82, allocations: 21.75 kB / 3.928 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/11.83, allocations: 143.3 kB / 3.928 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003766/11.83, allocations: 139.8 kB / 3.929 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000218/11.83, allocations: 69.78 kB / 3.929 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002031/11.83, allocations: 0.9451 MB / 3.93 GB, free: 136 kB / 0.5105 GB Notification: Performance of sort global known variables: time 2.5e-07/11.83, allocations: 2.812 kB / 3.93 GB, free: 136 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.365/12.19, allocations: 2.429 MB / 3.932 GB, free: 85.65 MB / 0.5105 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: 43 ($cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse27.phase,$cse27.region,$cse28.region3boundary,$cse29.region3boundary,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse34.region3boundary,$cse35.region3boundary,$cse36.phase,$cse36.region,$cse38.phase,$cse38.region,$whenCondition1,$whenCondition2,pipe1.statesFM[2].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) * 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 (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.01512/12.21, allocations: 2.826 MB / 3.935 GB, free: 85.52 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009689/12.22, allocations: 4.197 MB / 3.939 GB, free: 85.22 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/12.22, allocations: 1.969 kB / 3.939 GB, free: 85.22 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003364/12.22, allocations: 2.082 MB / 3.941 GB, free: 85.08 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005015/12.23, allocations: 0.7225 MB / 3.942 GB, free: 85.05 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/12.24, allocations: 5.055 MB / 3.946 GB, free: 83.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002289/12.24, allocations: 2.088 MB / 3.948 GB, free: 83.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005384/12.25, allocations: 2.47 MB / 3.951 GB, free: 83.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006237/12.25, allocations: 145.6 kB / 3.951 GB, free: 83.16 MB / 0.5105 GB Notification: Performance of SimCode: time 9.72e-07/12.25, allocations: 1.203 kB / 3.951 GB, free: 83.16 MB / 0.5105 GB Notification: Performance of Templates: time 0.09651/12.34, allocations: 68.08 MB / 4.018 GB, free: 79.39 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes2.pipe 2>&1)