Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.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.Vessels.TestVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") [: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.003114/0.003114, allocations: 182.6 kB / 7.458 MB, free: 2.504 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.223/1.223, 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.001691/0.001691, allocations: 124.5 kB / 247.1 MB, free: 6.344 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.1736/0.1736, allocations: 39.95 MB / 331.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.578e-06/9.608e-06, allocations: 0 / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1196, allocations: 54.87 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.371/5.49, allocations: 2.595 GB / 3.032 GB, free: 147.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/5.49, allocations: 82.16 kB / 3.032 GB, free: 147.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.9944/6.485, allocations: 351.9 MB / 3.376 GB, free: 6.941 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.882e-05/6.485, allocations: 16 kB / 3.376 GB, free: 6.926 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.007429/6.492, allocations: 1.669 MB / 3.378 GB, free: 5.215 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/6.492, allocations: 8.031 kB / 3.378 GB, free: 5.207 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003729/6.496, allocations: 474.5 kB / 3.378 GB, free: 4.742 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/6.498, allocations: 0.5781 MB / 3.379 GB, free: 4.129 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/6.498, allocations: 92.72 kB / 3.379 GB, free: 4.023 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/6.498, allocations: 32 kB / 3.379 GB, free: 3.992 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001345/6.499, allocations: 0.7483 MB / 3.38 GB, free: 3.246 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/6.501, allocations: 0.841 MB / 3.38 GB, free: 2.348 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/6.501, allocations: 4 kB / 3.38 GB, free: 2.344 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.774e-05/6.501, allocations: 0 / 3.38 GB, free: 2.344 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-05/6.501, allocations: 37.3 kB / 3.38 GB, free: 2.309 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2908/6.791, allocations: 37.21 MB / 3.417 GB, free: 84.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007169/6.792, allocations: 396.9 kB / 3.417 GB, free: 84.85 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003978/6.793, allocations: 262.7 kB / 3.417 GB, free: 84.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0625/6.855, allocations: 31.53 MB / 3.448 GB, free: 65.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/6.855, allocations: 44.75 kB / 3.448 GB, free: 65.33 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 3.106e-06/6.855, allocations: 0 / 3.448 GB, free: 65.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=54): time 0.01846/6.874, allocations: 3.405 MB / 3.452 GB, free: 65.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/6.874, allocations: 111.9 kB / 3.452 GB, free: 64.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006075/6.874, allocations: 415.5 kB / 3.452 GB, free: 64.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001096/6.875, allocations: 29.48 kB / 3.452 GB, free: 64.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/6.875, allocations: 313.9 kB / 3.452 GB, free: 64.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002323/6.875, allocations: 175.2 kB / 3.453 GB, free: 64.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.761e-05/6.875, allocations: 0 / 3.453 GB, free: 64.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/6.875, allocations: 359.7 kB / 3.453 GB, free: 64.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006087/6.876, allocations: 444.9 kB / 3.453 GB, free: 64.19 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007157/6.877, allocations: 0.6557 MB / 3.454 GB, free: 63.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002306/6.879, allocations: 0.7465 MB / 3.455 GB, free: 63.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.118e-06/6.879, allocations: 7.5 kB / 3.455 GB, free: 63.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.004938/6.884, allocations: 2.022 MB / 3.457 GB, free: 63.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005518/6.884, allocations: 2.696 MB / 3.459 GB, free: 60.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/6.884, allocations: 7.469 kB / 3.459 GB, free: 60.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001637/6.886, allocations: 1.099 MB / 3.46 GB, free: 60.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005347/6.887, allocations: 150.8 kB / 3.461 GB, free: 60.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004265/6.891, allocations: 3.102 MB / 3.464 GB, free: 59.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/6.892, allocations: 99.12 kB / 3.464 GB, free: 59.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/6.892, allocations: 49.27 kB / 3.464 GB, free: 59.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/6.892, allocations: 3.938 kB / 3.464 GB, free: 59.31 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002868/6.895, allocations: 1.083 MB / 3.465 GB, free: 59.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/6.895, allocations: 6.844 kB / 3.465 GB, free: 59.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000486/6.896, allocations: 254.2 kB / 3.465 GB, free: 59.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000775/6.897, allocations: 194.1 kB / 3.465 GB, free: 59.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002645/6.899, allocations: 4.063 MB / 3.469 GB, free: 55.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008054/6.9, allocations: 63.25 kB / 3.469 GB, free: 55.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-05/6.9, allocations: 44.94 kB / 3.469 GB, free: 55.77 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.Volume.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.Volume.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 7,2 1,3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0003558/6.9, allocations: 127.8 kB / 3.469 GB, free: 55.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009598/6.901, allocations: 299.6 kB / 3.47 GB, free: 55.63 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005668/6.907, allocations: 3.841 MB / 3.473 GB, free: 55.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.521e-05/6.907, allocations: 40.08 kB / 3.473 GB, free: 55.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/6.907, allocations: 1.75 kB / 3.473 GB, free: 55.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/6.907, allocations: 3.469 kB / 3.473 GB, free: 55.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007938/6.915, allocations: 5.465 MB / 3.479 GB, free: 54.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/6.915, allocations: 6.469 kB / 3.479 GB, free: 54.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/6.915, allocations: 64.73 kB / 3.479 GB, free: 54.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003052/6.919, allocations: 1.933 MB / 3.481 GB, free: 54.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.751e-05/6.919, allocations: 13.48 kB / 3.481 GB, free: 54.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005093/6.924, allocations: 4.129 MB / 3.485 GB, free: 53.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/6.924, allocations: 1.5 kB / 3.485 GB, free: 53.18 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004944/6.929, allocations: 3.233 MB / 3.488 GB, free: 52.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006091/6.929, allocations: 309.2 kB / 3.488 GB, free: 52.65 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/6.93, allocations: 7.156 kB / 3.488 GB, free: 52.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008652/6.931, allocations: 66.23 kB / 3.488 GB, free: 52.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/6.931, allocations: 71.8 kB / 3.488 GB, free: 52.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.007e-05/6.931, allocations: 25.11 kB / 3.488 GB, free: 52.64 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004866/6.931, allocations: 364.6 kB / 3.489 GB, free: 52.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006884/6.938, allocations: 1.381 MB / 3.49 GB, free: 52.55 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 8,2 1,3 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.009591/6.948, allocations: 1.798 MB / 3.492 GB, free: 52.35 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004938/6.953, allocations: 2.473 MB / 3.494 GB, free: 52.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/6.953, allocations: 0 / 3.494 GB, free: 52.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00281/6.956, allocations: 1.455 MB / 3.496 GB, free: 52.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/6.957, allocations: 256.1 kB / 3.496 GB, free: 52.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03733/6.995, allocations: 15.4 MB / 3.511 GB, free: 51.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009155/6.995, allocations: 1.177 MB / 3.512 GB, free: 50.39 MB / 490.7 MB Notification: Performance of SimCode: time 1.233e-06/6.995, allocations: 0 / 3.512 GB, free: 50.39 MB / 490.7 MB Notification: Performance of Templates: time 0.06593/7.061, allocations: 50.47 MB / 3.561 GB, free: 33.01 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1)