Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.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.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") [: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.002864/0.002864, allocations: 187.9 kB / 7.46 MB, free: 2.512 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.234/1.234, allocations: 194.2 MB / 202.1 MB, free: 8.652 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.001755/0.001756, allocations: 117.5 kB / 247.1 MB, free: 6.379 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.1837/0.1837, allocations: 39.94 MB / 331.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.235e-06/8.576e-06, allocations: 0 / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 54.88 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.35/1.452, allocations: 0.5985 GB / 1.036 GB, free: 171.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/1.452, allocations: 82.5 kB / 1.036 GB, free: 171.1 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.306/2.758, allocations: 406.6 MB / 1.433 GB, free: 52.12 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000125/2.758, allocations: 37.27 kB / 1.433 GB, free: 52.12 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005902/2.764, allocations: 1.892 MB / 1.435 GB, free: 51.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/2.764, allocations: 10.28 kB / 1.435 GB, free: 51.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/2.766, allocations: 204.3 kB / 1.435 GB, free: 51.28 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/2.768, allocations: 0.8944 MB / 1.436 GB, free: 51.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.951e-05/2.768, allocations: 28.09 kB / 1.436 GB, free: 51.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/2.769, allocations: 48.08 kB / 1.436 GB, free: 51.01 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001719/2.77, allocations: 1.051 MB / 1.437 GB, free: 51.01 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/2.772, allocations: 1.13 MB / 1.438 GB, free: 50.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/2.772, allocations: 1.5 kB / 1.438 GB, free: 50.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/2.772, allocations: 3.812 kB / 1.438 GB, free: 50.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.954e-05/2.772, allocations: 90.41 kB / 1.438 GB, free: 50.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008241/2.781, allocations: 4.985 MB / 1.443 GB, free: 48.49 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006643/2.781, allocations: 450 kB / 1.443 GB, free: 48.47 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004097/2.782, allocations: 314.4 kB / 1.444 GB, free: 48.46 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002956/2.782, allocations: 316.5 kB / 1.444 GB, free: 48.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/2.782, allocations: 42.28 kB / 1.444 GB, free: 48.14 MB / 474.7 MB Notification: Performance of pre-optimization done (n=56): time 2.835e-06/2.782, allocations: 3.875 kB / 1.444 GB, free: 48.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=61): time 0.008657/2.791, allocations: 2.396 MB / 1.446 GB, free: 47.59 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/2.791, allocations: 214 kB / 1.446 GB, free: 47.34 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/2.792, allocations: 0.7035 MB / 1.447 GB, free: 47.21 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.568e-05/2.792, allocations: 28.39 kB / 1.447 GB, free: 47.18 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/2.792, allocations: 422.4 kB / 1.448 GB, free: 46.96 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/2.792, allocations: 219.4 kB / 1.448 GB, free: 46.83 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-05/2.793, allocations: 0 / 1.448 GB, free: 46.83 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.076e-05/2.793, allocations: 341.6 kB / 1.448 GB, free: 46.53 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006215/2.793, allocations: 390.9 kB / 1.449 GB, free: 46.53 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000802/2.794, allocations: 0.6552 MB / 1.449 GB, free: 46.21 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009677/2.804, allocations: 2.022 MB / 1.451 GB, free: 46.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.816e-05/2.804, allocations: 3.031 kB / 1.451 GB, free: 46.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01142/2.815, allocations: 2.877 MB / 1.454 GB, free: 46.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005383/2.816, allocations: 2.884 MB / 1.457 GB, free: 43.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/2.816, allocations: 7.156 kB / 1.457 GB, free: 43.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001975/2.818, allocations: 483.9 kB / 1.457 GB, free: 43.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007217/2.819, allocations: 193 kB / 1.457 GB, free: 43.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/2.821, allocations: 1.477 MB / 1.459 GB, free: 42.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/2.822, allocations: 59.2 kB / 1.459 GB, free: 42.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/2.822, allocations: 95.58 kB / 1.459 GB, free: 42.55 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.286e-06/2.822, allocations: 6.562 kB / 1.459 GB, free: 42.55 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01015/2.832, allocations: 2.547 MB / 1.461 GB, free: 42.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/2.832, allocations: 7.344 kB / 1.462 GB, free: 42.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/2.834, allocations: 328.7 kB / 1.462 GB, free: 42.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007933/2.835, allocations: 216.5 kB / 1.462 GB, free: 42.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009646/2.836, allocations: 1.007 MB / 1.463 GB, free: 41.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/2.837, allocations: 58.25 kB / 1.463 GB, free: 41.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/2.837, allocations: 93.55 kB / 1.463 GB, free: 41.98 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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 {2 28} Notification: Performance of prepare postOptimizeDAE: time 0.0004051/2.837, allocations: 137.1 kB / 1.463 GB, free: 41.86 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003175/2.838, allocations: 98.78 kB / 1.463 GB, free: 41.81 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003112/2.841, allocations: 1.181 MB / 1.465 GB, free: 41.73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/2.841, allocations: 7.562 kB / 1.465 GB, free: 41.73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/2.841, allocations: 0 / 1.465 GB, free: 41.73 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/2.841, allocations: 2.953 kB / 1.465 GB, free: 41.73 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003844/2.845, allocations: 1.83 MB / 1.466 GB, free: 41.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/2.845, allocations: 3.562 kB / 1.466 GB, free: 41.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008693/2.846, allocations: 152.5 kB / 1.466 GB, free: 41.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.875e-05/2.846, allocations: 22.5 kB / 1.466 GB, free: 41.42 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.778e-05/2.846, allocations: 20.92 kB / 1.467 GB, free: 41.42 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007495/2.847, allocations: 1.226 MB / 1.468 GB, free: 40.22 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/2.847, allocations: 3.844 kB / 1.468 GB, free: 40.22 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00289/2.85, allocations: 1.421 MB / 1.469 GB, free: 39.96 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000405/2.85, allocations: 183 kB / 1.469 GB, free: 39.82 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/2.85, allocations: 3.844 kB / 1.469 GB, free: 39.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008604/2.851, allocations: 43.8 kB / 1.469 GB, free: 39.82 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/2.851, allocations: 52.45 kB / 1.469 GB, free: 39.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/2.851, allocations: 45.62 kB / 1.469 GB, free: 39.82 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0008289/2.852, allocations: 0.5211 MB / 1.47 GB, free: 39.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004454/2.857, allocations: 1.203 MB / 1.471 GB, free: 39.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (junction.medium.p,junction.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004087/2.861, allocations: 2.175 MB / 1.473 GB, free: 39.04 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002419/2.863, allocations: 1.482 MB / 1.475 GB, free: 39 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/2.863, allocations: 0 / 1.475 GB, free: 39 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005856/2.864, allocations: 489.1 kB / 1.475 GB, free: 38.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/2.866, allocations: 446.9 kB / 1.476 GB, free: 38.88 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008781/2.875, allocations: 3.183 MB / 1.479 GB, free: 38.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/2.876, allocations: 1.313 MB / 1.48 GB, free: 37.79 MB / 474.7 MB Notification: Performance of SimCode: time 9.11e-07/2.876, allocations: 0 / 1.48 GB, free: 37.79 MB / 474.7 MB Notification: Performance of Templates: time 0.06392/2.94, allocations: 43.55 MB / 1.522 GB, free: 15.97 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1)