Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.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.Dissipation.TestCases.PressureLoss.SeveralTestCases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases") [: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.00392/0.00392, allocations: 183.2 kB / 7.456 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.356/1.356, allocations: 194.2 MB / 202.1 MB, free: 8.664 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.001655/0.001656, allocations: 121.7 kB / 247.1 MB, free: 6.355 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.1667/0.1667, allocations: 39.94 MB / 331.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.544e-06/7.574e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.102, allocations: 54.87 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7677/0.8698, allocations: 332.6 MB / 0.7619 GB, free: 75.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.8702, allocations: 84.19 kB / 0.762 GB, free: 75.85 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.425/2.295, allocations: 447.1 MB / 1.199 GB, free: 9.094 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001622/2.296, allocations: 55.55 kB / 1.199 GB, free: 9.043 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.005305/2.301, allocations: 1.928 MB / 1.201 GB, free: 7.082 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/2.301, allocations: 8.031 kB / 1.201 GB, free: 7.074 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/2.302, allocations: 233.8 kB / 1.201 GB, free: 6.844 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/2.305, allocations: 1.182 MB / 1.202 GB, free: 5.637 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.578e-05/2.305, allocations: 44 kB / 1.202 GB, free: 5.594 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002945/2.306, allocations: 75.98 kB / 1.202 GB, free: 5.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002393/2.308, allocations: 1.376 MB / 1.203 GB, free: 4.141 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/2.311, allocations: 1.604 MB / 1.205 GB, free: 2.344 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/2.311, allocations: 3.938 kB / 1.205 GB, free: 2.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002691/2.311, allocations: 8 kB / 1.205 GB, free: 2.332 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/2.311, allocations: 40 kB / 1.205 GB, free: 2.293 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/2.323, allocations: 10.91 MB / 1.216 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008611/2.324, allocations: 0.4923 MB / 1.216 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004517/2.325, allocations: 291.2 kB / 1.216 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00568/2.331, allocations: 4.296 MB / 1.221 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/2.331, allocations: 42.56 kB / 1.221 GB, free: 0.6914 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=41): time 1.844e-06/2.331, allocations: 0 / 1.221 GB, free: 0.6914 MB / 0.4948 GB Notification: Performance of matching and sorting (n=41): time 0.2869/2.618, allocations: 0.9892 MB / 1.222 GB, free: 62.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/2.618, allocations: 363.7 kB / 1.222 GB, free: 61.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/2.619, allocations: 1.016 MB / 1.223 GB, free: 61.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.023e-05/2.619, allocations: 25.7 kB / 1.223 GB, free: 61.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003767/2.62, allocations: 0.837 MB / 1.224 GB, free: 61.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/2.62, allocations: 159.2 kB / 1.224 GB, free: 61.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/2.62, allocations: 0 / 1.224 GB, free: 61.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.181e-05/2.62, allocations: 370.4 kB / 1.224 GB, free: 60.87 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/2.62, allocations: 244.8 kB / 1.225 GB, free: 60.87 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007357/2.621, allocations: 1.296 MB / 1.226 GB, free: 59.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003963/2.625, allocations: 1.021 MB / 1.227 GB, free: 59.47 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.419e-05/2.625, allocations: 12.56 kB / 1.227 GB, free: 59.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005405/2.631, allocations: 1.854 MB / 1.229 GB, free: 59.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/2.631, allocations: 9.812 kB / 1.229 GB, free: 59.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.137e-05/2.631, allocations: 39.62 kB / 1.229 GB, free: 59.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.324e-05/2.631, allocations: 52.16 kB / 1.229 GB, free: 59.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003961/2.635, allocations: 0.7069 MB / 1.229 GB, free: 59.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/2.636, allocations: 1.951 MB / 1.231 GB, free: 57.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/2.638, allocations: 240.2 kB / 1.232 GB, free: 57.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/2.638, allocations: 113.6 kB / 1.232 GB, free: 57.55 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 163 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 200 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002304/2.638, allocations: 189.8 kB / 1.232 GB, free: 57.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/2.638, allocations: 140.2 kB / 1.232 GB, free: 57.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004272/2.643, allocations: 1.797 MB / 1.234 GB, free: 57.28 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/2.643, allocations: 7.875 kB / 1.234 GB, free: 57.28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/2.643, allocations: 2.5 kB / 1.234 GB, free: 57.28 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/2.643, allocations: 3.797 kB / 1.234 GB, free: 57.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/2.644, allocations: 0.8255 MB / 1.235 GB, free: 57.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/2.644, allocations: 0 / 1.235 GB, free: 57.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008231/2.645, allocations: 210.7 kB / 1.235 GB, free: 57.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002261/2.645, allocations: 40.55 kB / 1.235 GB, free: 57.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.946e-05/2.645, allocations: 16.28 kB / 1.235 GB, free: 57.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008902/2.646, allocations: 1.801 MB / 1.237 GB, free: 55.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/2.646, allocations: 2.156 kB / 1.237 GB, free: 55.4 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002275/2.649, allocations: 1.027 MB / 1.238 GB, free: 55.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004559/2.649, allocations: 253.9 kB / 1.238 GB, free: 54.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003412/2.649, allocations: 0 / 1.238 GB, free: 54.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000771/2.65, allocations: 47.58 kB / 1.238 GB, free: 54.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.981e-05/2.65, allocations: 48.58 kB / 1.238 GB, free: 54.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.046e-05/2.65, allocations: 26.55 kB / 1.238 GB, free: 54.99 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001087/2.651, allocations: 0.7572 MB / 1.239 GB, free: 54.88 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00308/2.655, allocations: 0.7613 MB / 1.239 GB, free: 54.86 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003013/2.658, allocations: 1.108 MB / 1.241 GB, free: 54.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005673/2.663, allocations: 1.193 MB / 1.242 GB, free: 54.69 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/2.663, allocations: 0 / 1.242 GB, free: 54.69 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009733/2.664, allocations: 383 kB / 1.242 GB, free: 54.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/2.667, allocations: 0.5098 MB / 1.243 GB, free: 54.67 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004249/2.671, allocations: 2.004 MB / 1.245 GB, free: 54.17 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/2.672, allocations: 1.439 MB / 1.246 GB, free: 53.45 MB / 0.4948 GB Notification: Performance of SimCode: time 3.11e-07/2.672, allocations: 0 / 1.246 GB, free: 53.45 MB / 0.4948 GB Notification: Performance of Templates: time 0.05102/2.723, allocations: 29.95 MB / 1.275 GB, free: 51.77 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe 2>&1)