Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.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.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState") translateModel(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01189/0.01189, allocations: 177.3 kB / 15.12 MB, free: 5.973 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.705/1.705, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001647/0.001647, allocations: 116.5 kB / 255.6 MB, free: 10.15 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.2268/0.2268, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005136/0.0005136, allocations: 17.91 kB / 406.2 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1614, allocations: 54.87 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.78/10.94, allocations: 3.68 GB / 4.13 GB, free: 111.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/10.94, allocations: 82.8 kB / 4.13 GB, free: 111.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.233/15.17, allocations: 0.9756 GB / 5.106 GB, free: 28.23 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.906e-06/15.17, allocations: 3.375 kB / 5.106 GB, free: 28.23 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0007525/15.17, allocations: 155.5 kB / 5.106 GB, free: 28.22 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: 2025 * Number of variables: 2025 Notification: Performance of Generate backend data structure: time 0.05564/15.23, allocations: 10.32 MB / 5.116 GB, free: 24.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.235e-05/15.23, allocations: 6.688 kB / 5.116 GB, free: 24.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/15.24, allocations: 0.8761 MB / 5.117 GB, free: 23.81 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02339/15.26, allocations: 5.768 MB / 5.122 GB, free: 23.03 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009954/15.26, allocations: 0.519 MB / 5.123 GB, free: 23.01 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006328/15.27, allocations: 0.6973 MB / 5.124 GB, free: 23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04946/15.32, allocations: 13.99 MB / 5.137 GB, free: 22.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007615/15.32, allocations: 30.2 kB / 5.137 GB, free: 22.31 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006327/15.33, allocations: 293.6 kB / 5.138 GB, free: 22.31 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001028/15.33, allocations: 0.7009 MB / 5.138 GB, free: 22.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04832/15.37, allocations: 16.46 MB / 5.154 GB, free: 22.23 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1276/15.5, allocations: 47.6 MB / 5.201 GB, free: 20.39 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02307/15.53, allocations: 10.64 MB / 5.211 GB, free: 16.71 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005612/15.53, allocations: 4.182 MB / 5.215 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002937/15.53, allocations: 141.2 kB / 5.216 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008607/15.54, allocations: 0.855 MB / 5.216 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=882): time 4.735e-05/15.54, allocations: 0 / 5.216 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1122): time 0.8322/16.37, allocations: 100.8 MB / 5.315 GB, free: 51.58 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001888/16.37, allocations: 164.3 kB / 5.315 GB, free: 51.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008783/16.38, allocations: 3.369 MB / 5.318 GB, free: 51.26 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.005234/16.39, allocations: 228.8 kB / 5.318 GB, free: 51.23 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002636/16.39, allocations: 2.409 MB / 5.321 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.008406/16.4, allocations: 3.896 MB / 5.325 GB, free: 48.48 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004913/16.4, allocations: 213.1 kB / 5.325 GB, free: 48.48 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001476/16.4, allocations: 0.7487 MB / 5.326 GB, free: 48.16 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02413/16.43, allocations: 9.988 MB / 5.335 GB, free: 48.14 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02697/16.46, allocations: 11.44 MB / 5.346 GB, free: 46.95 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02796/16.48, allocations: 11.04 MB / 5.357 GB, free: 46.82 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001383/16.48, allocations: 10.56 kB / 5.357 GB, free: 46.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.09826/16.58, allocations: 32.2 MB / 5.389 GB, free: 43.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.003701/16.59, allocations: 13.04 MB / 5.401 GB, free: 30.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002138/16.59, allocations: 35.38 kB / 5.401 GB, free: 30.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.703/17.29, allocations: 78.65 MB / 5.478 GB, free: 65.24 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006838/17.3, allocations: 1.068 MB / 5.479 GB, free: 65.24 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09604/17.39, allocations: 35.07 MB / 5.514 GB, free: 64.44 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01874/17.41, allocations: 1.788 MB / 5.515 GB, free: 64.44 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005852/17.42, allocations: 0.592 MB / 5.516 GB, free: 64.44 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/17.42, allocations: 3.625 kB / 5.516 GB, free: 64.44 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1047/17.52, allocations: 32.31 MB / 5.547 GB, free: 64.12 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002324/17.52, allocations: 33.47 kB / 5.547 GB, free: 64.12 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2381/17.76, allocations: 70.15 MB / 5.616 GB, free: 50.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00757/17.77, allocations: 1.17 MB / 5.617 GB, free: 49.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07896/17.85, allocations: 31.97 MB / 5.648 GB, free: 29.06 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01791/17.86, allocations: 1.753 MB / 5.65 GB, free: 27.89 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005376/17.87, allocations: 0.5828 MB / 5.651 GB, free: 27.4 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (588): * Single equations (assignments): 587 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {72 716} Notification: Performance of prepare postOptimizeDAE: time 0.01511/17.88, allocations: 2.572 MB / 5.653 GB, free: 25.32 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006247/17.89, allocations: 0.6489 MB / 5.654 GB, free: 24.87 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08773/17.98, allocations: 29.98 MB / 5.683 GB, free: 0.8789 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002084/17.98, allocations: 116 kB / 5.683 GB, free: 0.7656 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001034/17.98, allocations: 7.953 kB / 5.683 GB, free: 0.7578 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5718/18.55, allocations: 26.37 MB / 5.709 GB, free: 67.38 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1128/18.66, allocations: 41.85 MB / 5.75 GB, free: 65.94 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001269/18.66, allocations: 0 / 5.75 GB, free: 65.94 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01336/18.68, allocations: 2.138 MB / 5.752 GB, free: 65.94 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05022/18.73, allocations: 14.12 MB / 5.766 GB, free: 65.73 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004754/18.73, allocations: 0.6059 MB / 5.766 GB, free: 65.73 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03583/18.77, allocations: 33.1 MB / 5.799 GB, free: 48.11 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/18.77, allocations: 3.156 kB / 5.799 GB, free: 48.11 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09515/18.86, allocations: 36.87 MB / 5.835 GB, free: 42.62 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005044/18.87, allocations: 0.7886 MB / 5.835 GB, free: 42.11 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007922/18.88, allocations: 467.8 kB / 5.836 GB, free: 41.89 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0169/18.89, allocations: 1.448 MB / 5.837 GB, free: 41.7 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005349/18.9, allocations: 0.7646 MB / 5.838 GB, free: 41.61 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0052/18.9, allocations: 0.5486 MB / 5.838 GB, free: 41.53 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.005795/18.91, allocations: 2.559 MB / 5.841 GB, free: 40.62 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.3e-07/18.91, allocations: 0 / 5.841 GB, free: 40.62 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.04708/18.96, allocations: 6.925 MB / 5.848 GB, free: 39.96 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 60 (pipe1.mediums[1].p,pipe1.mediums[1].Xi[1],pipe1.mediums[1].T,pipe1.mediums[2].p,pipe1.mediums[2].Xi[1],pipe1.mediums[2].T,pipe1.mediums[3].p,pipe1.mediums[3].Xi[1],pipe1.mediums[3].T,pipe1.mediums[4].p,pipe1.mediums[4].Xi[1],pipe1.mediums[4].T,pipe1.mediums[5].p,pipe1.mediums[5].Xi[1],pipe1.mediums[5].T,pipe2.mediums[1].p,pipe2.mediums[1].Xi[1],pipe2.mediums[1].T,pipe2.mediums[2].p,pipe2.mediums[2].Xi[1],pipe2.mediums[2].T,pipe2.mediums[3].p,pipe2.mediums[3].Xi[1],pipe2.mediums[3].T,pipe2.mediums[4].p,pipe2.mediums[4].Xi[1],pipe2.mediums[4].T,pipe2.mediums[5].p,pipe2.mediums[5].Xi[1],pipe2.mediums[5].T,pipe3.mediums[1].p,pipe3.mediums[1].Xi[1],pipe3.mediums[1].T,pipe3.mediums[2].p,pipe3.mediums[2].Xi[1],pipe3.mediums[2].T,pipe3.mediums[3].p,pipe3.mediums[3].Xi[1],pipe3.mediums[3].T,pipe3.mediums[4].p,pipe3.mediums[4].Xi[1],pipe3.mediums[4].T,pipe3.mediums[5].p,pipe3.mediums[5].Xi[1],pipe3.mediums[5].T,pipe4.mediums[1].p,pipe4.mediums[1].Xi[1],pipe4.mediums[1].T,pipe4.mediums[2].p,pipe4.mediums[2].Xi[1],pipe4.mediums[2].T,pipe4.mediums[3].p,pipe4.mediums[3].Xi[1],pipe4.mediums[3].T,pipe4.mediums[4].p,pipe4.mediums[4].Xi[1],pipe4.mediums[4].T,pipe4.mediums[5].p,pipe4.mediums[5].Xi[1],pipe4.mediums[5].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1057): * Single equations (assignments): 1030 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 27 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 22 {2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,4 20,4 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.02168/18.98, allocations: 3.95 MB / 5.852 GB, free: 39.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.1016/19.08, allocations: 36.66 MB / 5.887 GB, free: 9.582 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.735e-05/19.08, allocations: 5 kB / 5.887 GB, free: 9.578 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.03341/19.11, allocations: 12.62 MB / 5.9 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02324/19.14, allocations: 3.066 MB / 5.903 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5401/19.68, allocations: 33.49 MB / 5.935 GB, free: 69.68 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009955/19.69, allocations: 5.192 MB / 5.941 GB, free: 68.78 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.02162/19.71, allocations: 4.925 MB / 5.945 GB, free: 68.51 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00696/19.72, allocations: 0.7556 MB / 5.946 GB, free: 68.5 MB / 0.5886 GB Notification: Performance of SimCode: time 1.893e-06/19.72, allocations: 0 / 5.946 GB, free: 68.5 MB / 0.5886 GB Notification: Performance of Templates: time 1.076/20.79, allocations: 399.8 MB / 6.336 GB, free: 5.137 MB / 0.6042 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe 2>&1)