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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00395/0.00395, allocations: 182.2 kB / 7.458 MB, free: 2.5 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.524/1.524, allocations: 194.2 MB / 202.1 MB, free: 8.645 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.001776/0.001776, allocations: 115 kB / 247.1 MB, free: 6.34 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.2106/0.2106, allocations: 39.93 MB / 331.9 MB, free: 4.863 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.664e-06/7.695e-06, allocations: 0 / 392.8 MB, free: 75.85 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.125, allocations: 54.87 MB / 447.6 MB, free: 20.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.241/7.366, allocations: 3.679 GB / 4.116 GB, free: 154.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/7.367, allocations: 75.69 kB / 4.116 GB, free: 154.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.021/11.39, allocations: 0.9734 GB / 5.09 GB, free: 34.44 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005186/11.39, allocations: 157.4 kB / 5.09 GB, free: 34.43 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.05636/11.45, allocations: 9.697 MB / 5.099 GB, free: 30.76 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/11.45, allocations: 9.469 kB / 5.099 GB, free: 30.76 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/11.46, allocations: 0.8702 MB / 5.1 GB, free: 30.37 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02639/11.48, allocations: 5.783 MB / 5.106 GB, free: 29.58 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001022/11.48, allocations: 244.2 kB / 5.106 GB, free: 29.58 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007287/11.49, allocations: 410.9 kB / 5.106 GB, free: 29.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04477/11.54, allocations: 15.78 MB / 5.122 GB, free: 29.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0509/11.59, allocations: 13.21 MB / 5.135 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000762/11.59, allocations: 26.69 kB / 5.135 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006286/11.59, allocations: 9.75 kB / 5.135 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009326/11.59, allocations: 0.7426 MB / 5.135 GB, free: 28.87 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1348/11.73, allocations: 47.09 MB / 5.181 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01661/11.75, allocations: 7.55 MB / 5.189 GB, free: 14 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01404/11.76, allocations: 7.277 MB / 5.196 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004642/11.76, allocations: 4.156 MB / 5.2 GB, free: 25.71 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002827/11.76, allocations: 146.3 kB / 5.2 GB, free: 25.66 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=881): time 4.321e-05/11.76, allocations: 0 / 5.2 GB, free: 25.66 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1121): time 0.3409/12.11, allocations: 80.67 MB / 5.279 GB, free: 3.914 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002284/12.11, allocations: 171.3 kB / 5.279 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006351/12.11, allocations: 2.326 MB / 5.281 GB, free: 1.641 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.005017/12.12, allocations: 33.7 kB / 5.281 GB, free: 1.602 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.3813/12.5, allocations: 2.024 MB / 5.283 GB, free: 92.8 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.007974/12.51, allocations: 3.752 MB / 5.287 GB, free: 91.55 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003961/12.51, allocations: 0 / 5.287 GB, free: 91.55 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001008/12.51, allocations: 0.7502 MB / 5.288 GB, free: 91.22 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01591/12.53, allocations: 9.153 MB / 5.297 GB, free: 91.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02057/12.55, allocations: 10.54 MB / 5.307 GB, free: 90.04 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04339/12.59, allocations: 13.78 MB / 5.32 GB, free: 89.91 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001642/12.59, allocations: 13.11 kB / 5.32 GB, free: 89.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.107/12.7, allocations: 32.79 MB / 5.352 GB, free: 89.29 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002795/12.7, allocations: 12.46 MB / 5.365 GB, free: 76.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001283/12.7, allocations: 29.47 kB / 5.365 GB, free: 76.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1998/12.9, allocations: 39.78 MB / 5.404 GB, free: 76.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006285/12.91, allocations: 1.058 MB / 5.405 GB, free: 76.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09275/13, allocations: 37.5 MB / 5.441 GB, free: 70.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02/13.02, allocations: 1.376 MB / 5.443 GB, free: 70.29 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006206/13.03, allocations: 0.6037 MB / 5.443 GB, free: 70.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/13.03, allocations: 3.75 kB / 5.443 GB, free: 70.2 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1018/13.13, allocations: 30.64 MB / 5.473 GB, free: 46.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002704/13.13, allocations: 28 kB / 5.473 GB, free: 46.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1912/13.32, allocations: 38.37 MB / 5.511 GB, free: 19.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007086/13.33, allocations: 1.164 MB / 5.512 GB, free: 18.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3932/13.72, allocations: 35.46 MB / 5.546 GB, free: 83.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01812/13.74, allocations: 1.351 MB / 5.548 GB, free: 83.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006029/13.75, allocations: 0.5919 MB / 5.548 GB, free: 83.59 MB / 0.5573 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (590): * Single equations (assignments): 589 * 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 {67 719} Notification: Performance of prepare postOptimizeDAE: time 0.01036/13.76, allocations: 223.5 kB / 5.548 GB, free: 83.48 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00519/13.76, allocations: 0.575 MB / 5.549 GB, free: 83.48 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08188/13.84, allocations: 28.53 MB / 5.577 GB, free: 82.57 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001794/13.84, allocations: 118.1 kB / 5.577 GB, free: 82.57 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-05/13.84, allocations: 3.5 kB / 5.577 GB, free: 82.57 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.055/13.9, allocations: 21.82 MB / 5.598 GB, free: 81.85 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1141/14.01, allocations: 41.38 MB / 5.639 GB, free: 80.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001073/14.01, allocations: 0 / 5.639 GB, free: 80.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01409/14.03, allocations: 2.078 MB / 5.641 GB, free: 80.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03728/14.06, allocations: 10.59 MB / 5.651 GB, free: 80.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004995/14.07, allocations: 0.4932 MB / 5.652 GB, free: 80.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02977/14.1, allocations: 31.68 MB / 5.682 GB, free: 60.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/14.1, allocations: 3.969 kB / 5.682 GB, free: 60.66 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07619/14.17, allocations: 36.09 MB / 5.718 GB, free: 47.41 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002487/14.18, allocations: 0.6683 MB / 5.718 GB, free: 46.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004745/14.18, allocations: 290.4 kB / 5.719 GB, free: 46.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01461/14.2, allocations: 1.112 MB / 5.72 GB, free: 45.86 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003505/14.2, allocations: 0.6934 MB / 5.72 GB, free: 45.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003484/14.2, allocations: 0.5502 MB / 5.721 GB, free: 45.02 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.003207/14.21, allocations: 1.704 MB / 5.723 GB, free: 43.48 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.03329/14.24, allocations: 6.284 MB / 5.729 GB, free: 37.87 MB / 0.5573 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1056): * Single equations (assignments): 1029 * 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 22,2 6,2 6,2 6,2 6,2 6,2 6,2 22,2 6,2 6,2 6,2 6,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01908/14.26, allocations: 4.037 MB / 5.733 GB, free: 35.57 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.07776/14.34, allocations: 33.84 MB / 5.766 GB, free: 6.184 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.949e-05/14.34, allocations: 8.781 kB / 5.766 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.3777/14.72, allocations: 11.94 MB / 5.777 GB, free: 80.58 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01652/14.73, allocations: 2.544 MB / 5.78 GB, free: 80.55 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07205/14.8, allocations: 26.91 MB / 5.806 GB, free: 78.05 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01487/14.82, allocations: 6.135 MB / 5.812 GB, free: 77.14 MB / 0.5573 GB Notification: Performance of SimCode: time 9.92e-07/14.82, allocations: 0 / 5.812 GB, free: 77.14 MB / 0.5573 GB Notification: Performance of Templates: time 1.153/15.97, allocations: 418.8 MB / 6.221 GB, free: 57.27 MB / 0.5573 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)