Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13.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.BranchingPipes13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007404/0.007404, allocations: 165.6 kB / 15.11 MB, free: 5.973 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.421/1.421, allocations: 170.8 MB / 186.6 MB, free: 1.031 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.001686/0.001686, allocations: 113.6 kB / 226.2 MB, free: 10.09 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.3055/0.3055, allocations: 38.05 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003691, allocations: 16 kB / 362.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09989/0.1003, allocations: 48.7 MB / 411.6 MB, free: 4.801 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.132/5.232, allocations: 2.546 GB / 2.948 GB, free: 63.27 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/5.232, allocations: 76.78 kB / 2.948 GB, free: 63.23 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.893/8.125, allocations: 0.8432 GB / 3.791 GB, free: 27.01 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.913e-06/8.125, allocations: 0 / 3.791 GB, free: 27.01 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002444/8.125, allocations: 63.7 kB / 3.791 GB, free: 27 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 472 * Number of variables: 472 Notification: Performance of Generate backend data structure: time 0.01577/8.141, allocations: 3.954 MB / 3.795 GB, free: 25.15 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/8.141, allocations: 9.188 kB / 3.795 GB, free: 25.15 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006517/8.148, allocations: 0.7534 MB / 3.796 GB, free: 25.03 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006266/8.154, allocations: 1.96 MB / 3.798 GB, free: 24.59 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002601/8.154, allocations: 165 kB / 3.798 GB, free: 24.58 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001066/8.155, allocations: 174.3 kB / 3.798 GB, free: 24.58 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008468/8.164, allocations: 3.279 MB / 3.801 GB, free: 24.12 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.061e-05/8.164, allocations: 16.89 kB / 3.801 GB, free: 24.11 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003105/8.164, allocations: 83.86 kB / 3.801 GB, free: 24.11 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002144/8.165, allocations: 140 kB / 3.801 GB, free: 24.11 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006236/8.171, allocations: 3.011 MB / 3.804 GB, free: 24.09 MB / 474.7 MB 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.01656/8.187, allocations: 14.04 MB / 3.818 GB, free: 15.57 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00421/8.192, allocations: 2.031 MB / 3.82 GB, free: 15.54 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03289/8.224, allocations: 18.85 MB / 3.838 GB, free: 19.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004368/8.229, allocations: 1.538 MB / 3.84 GB, free: 19.58 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001534/8.23, allocations: 162.5 kB / 3.84 GB, free: 19.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=142): time 7.454e-06/8.23, allocations: 0 / 3.84 GB, free: 19.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=154): time 0.02132/8.252, allocations: 8.214 MB / 3.848 GB, free: 18.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/8.252, allocations: 259.9 kB / 3.848 GB, free: 17.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002814/8.255, allocations: 1.348 MB / 3.85 GB, free: 17.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000213/8.255, allocations: 51.73 kB / 3.85 GB, free: 17.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008662/8.256, allocations: 0.8995 MB / 3.851 GB, free: 17.35 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005752/8.257, allocations: 0.5185 MB / 3.851 GB, free: 17.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/8.257, allocations: 33.69 kB / 3.851 GB, free: 17.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/8.257, allocations: 376.9 kB / 3.852 GB, free: 16.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/8.259, allocations: 1.006 MB / 3.853 GB, free: 16.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/8.261, allocations: 1.417 MB / 3.854 GB, free: 16.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001961/8.263, allocations: 1.232 MB / 3.855 GB, free: 16.15 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/8.263, allocations: 5.062 kB / 3.855 GB, free: 16.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006022/8.269, allocations: 3.151 MB / 3.858 GB, free: 15.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00171/8.271, allocations: 4.359 MB / 3.862 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/8.271, allocations: 11.47 kB / 3.862 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002963/8.274, allocations: 0.614 MB / 3.863 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/8.275, allocations: 437.5 kB / 3.863 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/8.278, allocations: 2.824 MB / 3.866 GB, free: 9.031 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/8.28, allocations: 233.5 kB / 3.866 GB, free: 9.004 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003654/8.281, allocations: 93.39 kB / 3.867 GB, free: 9.004 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/8.281, allocations: 6.406 kB / 3.867 GB, free: 9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005199/8.286, allocations: 2.749 MB / 3.869 GB, free: 8.547 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.064e-05/8.286, allocations: 14.77 kB / 3.869 GB, free: 8.543 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006608/8.287, allocations: 215.9 kB / 3.869 GB, free: 8.469 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/8.288, allocations: 455.2 kB / 3.87 GB, free: 8.422 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/8.29, allocations: 1.876 MB / 3.872 GB, free: 6.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/8.292, allocations: 236.7 kB / 3.872 GB, free: 6.672 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/8.292, allocations: 91.39 kB / 3.872 GB, free: 6.656 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 27 (pipe3.state_a.phase,pipe2.state_a.phase,valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,valveIncompressible.state_b.phase,valveIncompressible.state_a.phase,pipe1.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,pipe3.state_b.phase,pipe2.state_b.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 199 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.001768/8.294, allocations: 0.7065 MB / 3.873 GB, free: 22.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004658/8.294, allocations: 193 kB / 3.873 GB, free: 22.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009447/8.304, allocations: 7.446 MB / 3.88 GB, free: 18.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-05/8.304, allocations: 81.72 kB / 3.88 GB, free: 18.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/8.304, allocations: 0 / 3.88 GB, free: 18.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007064/8.311, allocations: 6.518 MB / 3.887 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01517/8.326, allocations: 10.34 MB / 3.897 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/8.326, allocations: 3.953 kB / 3.897 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/8.327, allocations: 333.5 kB / 3.897 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003367/8.331, allocations: 1.343 MB / 3.898 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002005/8.331, allocations: 66.14 kB / 3.898 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002987/8.334, allocations: 3.468 MB / 3.902 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/8.334, allocations: 0 / 3.902 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2894/8.623, allocations: 7.304 MB / 3.909 GB, free: 56.26 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001841/8.625, allocations: 0.6989 MB / 3.91 GB, free: 56.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004005/8.626, allocations: 46.48 kB / 3.91 GB, free: 56.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/8.627, allocations: 191.8 kB / 3.91 GB, free: 56.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002922/8.627, allocations: 130.2 kB / 3.91 GB, free: 56.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/8.628, allocations: 64.17 kB / 3.91 GB, free: 56.17 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001752/8.629, allocations: 1.143 MB / 3.911 GB, free: 56.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.7e-07/8.629, allocations: 2.938 kB / 3.911 GB, free: 56.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00943/8.639, allocations: 2.674 MB / 3.914 GB, free: 56.02 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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: 53 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse27.phase,$cse27.region,$cse30.phase,$cse30.region,$cse32.region3boundary,$cse33.region3boundary,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.region3boundary,$cse38.region3boundary,$cse39.phase,$cse39.region,$cse41.phase,$cse41.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) * Number of discrete states: 10 (valveOpening2.last,valveOpening2.nextEvent,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.b,valveOpening1.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 20 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.01269/8.651, allocations: 2.864 MB / 3.917 GB, free: 55.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009916/8.661, allocations: 4.722 MB / 3.921 GB, free: 55.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/8.661, allocations: 3.219 kB / 3.921 GB, free: 55.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00326/8.665, allocations: 2.26 MB / 3.923 GB, free: 55.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004726/8.67, allocations: 0.8837 MB / 3.924 GB, free: 55.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1988/8.868, allocations: 127.6 MB / 4.049 GB, free: 36.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00154/8.87, allocations: 2.175 MB / 4.051 GB, free: 35.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004202/8.874, allocations: 2.159 MB / 4.053 GB, free: 33.83 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004907/8.875, allocations: 172.2 kB / 4.053 GB, free: 33.69 MB / 0.4948 GB Notification: Performance of SimCode: time 4.208e-06/8.875, allocations: 0 / 4.053 GB, free: 33.69 MB / 0.4948 GB Notification: Performance of Templates: time 0.3783/9.253, allocations: 81.09 MB / 4.132 GB, free: 51.99 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13.pipe 2>&1)