Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.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.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState") translateModel(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.005309/0.005309, allocations: 173.2 kB / 7.449 MB, free: 2.508 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.499/1.499, allocations: 170.6 MB / 178.4 MB, free: 15.4 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.001905/0.001905, allocations: 113.1 kB / 217.7 MB, free: 8.164 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.2179/0.2179, allocations: 37.96 MB / 294.8 MB, free: 9.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.586e-06/8.626e-06, allocations: 0 / 349.5 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1314, allocations: 48.7 MB / 398.2 MB, free: 5.668 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.612/9.743, allocations: 3.672 GB / 4.061 GB, free: 30.13 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/9.744, allocations: 79.95 kB / 4.061 GB, free: 30.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.353/14.1, allocations: 0.9629 GB / 5.024 GB, free: 21.75 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001064/14.1, allocations: 165.7 kB / 5.024 GB, free: 21.73 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: 2025 * Number of variables: 2025 Notification: Performance of Generate backend data structure: time 0.06393/14.16, allocations: 9.691 MB / 5.034 GB, free: 17.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.457e-05/14.16, allocations: 8.844 kB / 5.034 GB, free: 17.7 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01253/14.17, allocations: 0.8571 MB / 5.035 GB, free: 17.31 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02836/14.2, allocations: 5.783 MB / 5.04 GB, free: 16.41 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008103/14.2, allocations: 245 kB / 5.041 GB, free: 16.41 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006444/14.21, allocations: 419.3 kB / 5.041 GB, free: 16.4 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04098/14.25, allocations: 15.77 MB / 5.056 GB, free: 16.37 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05631/14.31, allocations: 13.2 MB / 5.069 GB, free: 11.23 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007732/14.31, allocations: 31.75 kB / 5.069 GB, free: 11.21 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006605/14.31, allocations: 8 kB / 5.069 GB, free: 11.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008757/14.32, allocations: 0.7501 MB / 5.07 GB, free: 10.57 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5232/14.84, allocations: 41.74 MB / 5.111 GB, free: 54.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01759/14.86, allocations: 7.559 MB / 5.118 GB, free: 54.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01639/14.87, allocations: 7.282 MB / 5.125 GB, free: 54.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005292/14.88, allocations: 4.155 MB / 5.129 GB, free: 50.35 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003332/14.88, allocations: 143.3 kB / 5.129 GB, free: 50.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=881): time 6.127e-05/14.88, allocations: 0 / 5.129 GB, free: 50.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=1121): time 0.4083/15.29, allocations: 80.4 MB / 5.208 GB, free: 48.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003279/15.29, allocations: 165.9 kB / 5.208 GB, free: 48.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01164/15.3, allocations: 2.329 MB / 5.21 GB, free: 47.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.007835/15.31, allocations: 31.89 kB / 5.21 GB, free: 47.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00375/15.31, allocations: 2.031 MB / 5.212 GB, free: 47.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0127/15.32, allocations: 3.75 MB / 5.216 GB, free: 44.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005286/15.33, allocations: 0 / 5.216 GB, free: 44.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001651/15.33, allocations: 0.7476 MB / 5.217 GB, free: 44.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02763/15.36, allocations: 9.151 MB / 5.226 GB, free: 44.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03644/15.39, allocations: 10.55 MB / 5.236 GB, free: 40.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05827/15.45, allocations: 13.77 MB / 5.249 GB, free: 37.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003271/15.45, allocations: 7.812 kB / 5.249 GB, free: 37.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.126/15.58, allocations: 32.79 MB / 5.282 GB, free: 13.49 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.4113/15.99, allocations: 12.46 MB / 5.294 GB, free: 55.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003986/15.99, allocations: 30.09 kB / 5.294 GB, free: 55.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2102/16.2, allocations: 39.77 MB / 5.333 GB, free: 55.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006641/16.21, allocations: 1.06 MB / 5.334 GB, free: 55.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1191/16.33, allocations: 37.5 MB / 5.37 GB, free: 54.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02289/16.35, allocations: 1.37 MB / 5.372 GB, free: 54.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00868/16.36, allocations: 0.6083 MB / 5.372 GB, free: 54.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/16.36, allocations: 6.031 kB / 5.372 GB, free: 54.29 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1289/16.49, allocations: 30.64 MB / 5.402 GB, free: 54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004643/16.49, allocations: 29.19 kB / 5.402 GB, free: 54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2105/16.7, allocations: 38.37 MB / 5.44 GB, free: 40.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008149/16.71, allocations: 1.161 MB / 5.441 GB, free: 39.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09014/16.8, allocations: 33.28 MB / 5.473 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02148/16.82, allocations: 1.345 MB / 5.475 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007197/16.83, allocations: 0.5926 MB / 5.475 GB, free: 10.73 MB / 490.7 MB 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.01292/16.84, allocations: 225.3 kB / 5.475 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008306/16.85, allocations: 0.572 MB / 5.476 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5801/17.43, allocations: 28.62 MB / 5.504 GB, free: 56.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003422/17.43, allocations: 121.5 kB / 5.504 GB, free: 56.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001764/17.43, allocations: 3.156 kB / 5.504 GB, free: 56.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08341/17.51, allocations: 21.83 MB / 5.525 GB, free: 56.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1616/17.67, allocations: 41.39 MB / 5.566 GB, free: 54.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002141/17.67, allocations: 0 / 5.566 GB, free: 54.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01817/17.69, allocations: 2.075 MB / 5.568 GB, free: 54.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04143/17.73, allocations: 10.58 MB / 5.578 GB, free: 54.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007817/17.74, allocations: 0.4992 MB / 5.579 GB, free: 54.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04035/17.78, allocations: 31.68 MB / 5.609 GB, free: 33.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.265e-05/17.78, allocations: 7.312 kB / 5.609 GB, free: 33.62 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1192/17.9, allocations: 36.08 MB / 5.645 GB, free: 16.53 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005171/17.91, allocations: 0.6701 MB / 5.645 GB, free: 15.88 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008758/17.92, allocations: 291.4 kB / 5.646 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02105/17.94, allocations: 1.114 MB / 5.647 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00758/17.94, allocations: 0.6922 MB / 5.647 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.007919/17.95, allocations: 0.5499 MB / 5.648 GB, free: 14.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.00602/17.96, allocations: 1.705 MB / 5.65 GB, free: 12.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.05219/18.01, allocations: 6.259 MB / 5.656 GB, free: 7.012 MB / 490.7 MB 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.02503/18.04, allocations: 4.051 MB / 5.66 GB, free: 4.699 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.6225/18.66, allocations: 34.66 MB / 5.694 GB, free: 52.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.026e-05/18.66, allocations: 5.656 kB / 5.694 GB, free: 52.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03497/18.69, allocations: 11.38 MB / 5.705 GB, free: 51.86 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0271/18.72, allocations: 2.53 MB / 5.707 GB, free: 51.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1145/18.84, allocations: 26.91 MB / 5.733 GB, free: 49.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01994/18.86, allocations: 6.144 MB / 5.739 GB, free: 48.26 MB / 490.7 MB Notification: Performance of SimCode: time 3.486e-06/18.86, allocations: 0 / 5.739 GB, free: 48.26 MB / 490.7 MB Notification: Performance of Templates: time 1.805/20.66, allocations: 418.7 MB / 6.148 GB, free: 39.95 MB / 0.4949 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.pipe 2>&1)