Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [: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.003943/0.003943, allocations: 186.5 kB / 7.459 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.297/1.297, allocations: 194.2 MB / 202.1 MB, free: 8.656 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.00212/0.00212, allocations: 120 kB / 247.1 MB, free: 6.402 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.1719/0.1719, allocations: 39.95 MB / 331.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.344e-06/7.364e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09396/0.09398, allocations: 54.87 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.061/1.155, allocations: 0.5748 GB / 1.012 GB, free: 5.465 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/1.155, allocations: 95.69 kB / 1.012 GB, free: 5.414 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.8118/1.967, allocations: 224 MB / 1.231 GB, free: 95.99 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.579e-05/1.967, allocations: 19.28 kB / 1.231 GB, free: 95.99 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001752/1.969, allocations: 0.9238 MB / 1.232 GB, free: 95.61 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/1.969, allocations: 11.41 kB / 1.232 GB, free: 95.61 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/1.97, allocations: 144 kB / 1.232 GB, free: 95.58 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008491/1.971, allocations: 0.5424 MB / 1.232 GB, free: 95.35 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/1.971, allocations: 15.03 kB / 1.232 GB, free: 95.35 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/1.971, allocations: 28.33 kB / 1.232 GB, free: 95.35 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005907/1.972, allocations: 395.3 kB / 1.233 GB, free: 95.35 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006199/1.972, allocations: 487.9 kB / 1.233 GB, free: 95.21 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/1.972, allocations: 0 / 1.233 GB, free: 95.21 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.029e-05/1.972, allocations: 3.969 kB / 1.233 GB, free: 95.21 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/1.972, allocations: 14.41 kB / 1.233 GB, free: 95.21 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/1.975, allocations: 2.61 MB / 1.236 GB, free: 93.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/1.975, allocations: 235.4 kB / 1.236 GB, free: 93.45 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/1.975, allocations: 132.4 kB / 1.236 GB, free: 93.45 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002998/1.976, allocations: 325.4 kB / 1.236 GB, free: 93.16 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/1.976, allocations: 43.59 kB / 1.237 GB, free: 93.12 MB / 474.7 MB Notification: Performance of pre-optimization done (n=30): time 1.954e-06/1.976, allocations: 0 / 1.237 GB, free: 93.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=30): time 0.00269/1.978, allocations: 0.8142 MB / 1.237 GB, free: 93.05 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/1.978, allocations: 135.4 kB / 1.237 GB, free: 92.89 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004312/1.979, allocations: 382.3 kB / 1.238 GB, free: 92.79 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/1.979, allocations: 28.8 kB / 1.238 GB, free: 92.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/1.979, allocations: 258 kB / 1.238 GB, free: 92.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.011e-05/1.979, allocations: 104.7 kB / 1.238 GB, free: 92.55 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/1.979, allocations: 0 / 1.238 GB, free: 92.55 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.971e-05/1.979, allocations: 354.6 kB / 1.239 GB, free: 92.24 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/1.979, allocations: 159.8 kB / 1.239 GB, free: 92.23 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/1.98, allocations: 330.8 kB / 1.239 GB, free: 92.03 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0023/1.982, allocations: 0.6964 MB / 1.24 GB, free: 92.03 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.982, allocations: 2.625 kB / 1.24 GB, free: 92.03 MB / 474.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002838/1.985, allocations: 1.072 MB / 1.241 GB, free: 91.95 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/1.985, allocations: 5.906 kB / 1.241 GB, free: 91.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.985, allocations: 3.031 kB / 1.241 GB, free: 91.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002234/1.985, allocations: 55.94 kB / 1.241 GB, free: 91.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/1.986, allocations: 161.1 kB / 1.241 GB, free: 91.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004381/1.99, allocations: 13.47 MB / 1.254 GB, free: 78.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000527/1.991, allocations: 61.14 kB / 1.254 GB, free: 78.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.363e-05/1.991, allocations: 55.25 kB / 1.254 GB, free: 78.13 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.venaLength:VARIABLE(unit = "m" ) = fitting1.geometry.venaLength "Length of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.venaPerimeter:VARIABLE(unit = "m" ) = fitting1.geometry.venaPerimeter "Perimeter of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.venaCrossArea:VARIABLE(unit = "m2" ) = fitting1.geometry.venaCrossArea "Cross sectional area of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.perimeter:VARIABLE(unit = "m" ) = fitting1.geometry.perimeter "Inner perimeter" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.crossArea:VARIABLE(unit = "m2" ) = fitting1.geometry.crossArea "Inner cross sectional area" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.venaLength:VARIABLE(unit = "m" ) = fitting2.geometry.venaLength "Length of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.venaPerimeter:VARIABLE(unit = "m" ) = fitting2.geometry.venaPerimeter "Perimeter of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.venaCrossArea:VARIABLE(unit = "m2" ) = fitting2.geometry.venaCrossArea "Cross sectional area of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.perimeter:VARIABLE(unit = "m" ) = fitting2.geometry.perimeter "Inner perimeter" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.crossArea:VARIABLE(unit = "m2" ) = fitting2.geometry.crossArea "Inner cross sectional area" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002487/1.991, allocations: 170.8 kB / 1.254 GB, free: 78.02 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.719e-05/1.991, allocations: 45.22 kB / 1.254 GB, free: 78 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/1.993, allocations: 0.7061 MB / 1.255 GB, free: 77.91 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/1.993, allocations: 3.5 kB / 1.255 GB, free: 77.91 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-06/1.993, allocations: 1.688 kB / 1.255 GB, free: 77.91 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.993, allocations: 7.219 kB / 1.255 GB, free: 77.91 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/1.995, allocations: 1.103 MB / 1.256 GB, free: 77.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.995, allocations: 3.5 kB / 1.256 GB, free: 77.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/1.995, allocations: 61.88 kB / 1.256 GB, free: 77.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000154/1.995, allocations: 47.27 kB / 1.256 GB, free: 77.38 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/1.995, allocations: 10.95 kB / 1.256 GB, free: 77.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004087/1.995, allocations: 0.6102 MB / 1.257 GB, free: 76.86 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.995, allocations: 7.062 kB / 1.257 GB, free: 76.86 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001039/1.996, allocations: 0.6336 MB / 1.258 GB, free: 76.51 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/1.997, allocations: 152.1 kB / 1.258 GB, free: 76.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.655e-05/1.997, allocations: 3.969 kB / 1.258 GB, free: 76.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/1.997, allocations: 29.78 kB / 1.258 GB, free: 76.39 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/1.997, allocations: 17.25 kB / 1.258 GB, free: 76.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/1.997, allocations: 20.81 kB / 1.258 GB, free: 76.39 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0003008/1.997, allocations: 309.5 kB / 1.258 GB, free: 76.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001849/1.999, allocations: 395.2 kB / 1.258 GB, free: 76.25 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001896/2.001, allocations: 1.34 MB / 1.26 GB, free: 76.03 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000732/2.002, allocations: 363.7 kB / 1.26 GB, free: 76.03 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/2.002, allocations: 0 / 1.26 GB, free: 76.03 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002087/2.002, allocations: 117.2 kB / 1.26 GB, free: 76.03 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/2.003, allocations: 212.8 kB / 1.26 GB, free: 76.03 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006175/2.009, allocations: 2.288 MB / 1.263 GB, free: 75.77 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006356/2.01, allocations: 0.9768 MB / 1.264 GB, free: 75.05 MB / 474.7 MB Notification: Performance of SimCode: time 6.32e-07/2.01, allocations: 0 / 1.264 GB, free: 75.05 MB / 474.7 MB Notification: Performance of Templates: time 0.02551/2.036, allocations: 17.82 MB / 1.281 GB, free: 74.35 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1)