Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_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.1+maint.om/package.mo): time 0.006737/0.006737, allocations: 178.9 kB / 7.451 MB, free: 2.512 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.414/1.414, allocations: 170.6 MB / 178.4 MB, free: 15.46 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.001831/0.001832, allocations: 119.8 kB / 217.7 MB, free: 8.219 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.1559/0.1559, allocations: 37.97 MB / 294.8 MB, free: 9.625 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.676e-06/8.706e-06, allocations: 1.156 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09978/0.0998, allocations: 48.71 MB / 398.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.283/1.383, allocations: 0.568 GB / 0.9569 GB, free: 112.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/1.383, allocations: 91.14 kB / 0.957 GB, free: 112.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.6874/2.071, allocations: 223.9 MB / 1.176 GB, free: 79.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001147/2.071, allocations: 10.84 kB / 1.176 GB, free: 79.3 MB / 426.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.003557/2.075, allocations: 0.9356 MB / 1.177 GB, free: 78.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.328e-05/2.075, allocations: 8.656 kB / 1.177 GB, free: 78.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/2.076, allocations: 136.3 kB / 1.177 GB, free: 78.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/2.078, allocations: 0.5442 MB / 1.177 GB, free: 78.08 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/2.078, allocations: 17.28 kB / 1.177 GB, free: 78.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.923e-05/2.078, allocations: 24.19 kB / 1.177 GB, free: 78.08 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008924/2.079, allocations: 395.3 kB / 1.178 GB, free: 77.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009797/2.08, allocations: 496.9 kB / 1.178 GB, free: 77.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/2.08, allocations: 0 / 1.178 GB, free: 77.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-05/2.08, allocations: 3.594 kB / 1.178 GB, free: 77.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/2.08, allocations: 8.594 kB / 1.178 GB, free: 77.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003554/2.083, allocations: 2.635 MB / 1.181 GB, free: 75.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004101/2.084, allocations: 219.2 kB / 1.181 GB, free: 75.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/2.084, allocations: 137.3 kB / 1.181 GB, free: 75.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003982/2.085, allocations: 326.3 kB / 1.181 GB, free: 74.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/2.085, allocations: 34.5 kB / 1.181 GB, free: 74.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 3.306e-06/2.085, allocations: 2.656 kB / 1.181 GB, free: 74.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.003048/2.088, allocations: 0.8214 MB / 1.182 GB, free: 74.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/2.088, allocations: 132.3 kB / 1.182 GB, free: 74.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004856/2.088, allocations: 382.2 kB / 1.183 GB, free: 73.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/2.088, allocations: 25.7 kB / 1.183 GB, free: 73.85 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/2.088, allocations: 257 kB / 1.183 GB, free: 73.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.069e-05/2.088, allocations: 110.1 kB / 1.183 GB, free: 73.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/2.088, allocations: 0 / 1.183 GB, free: 73.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/2.089, allocations: 353.1 kB / 1.183 GB, free: 73.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/2.089, allocations: 161.3 kB / 1.184 GB, free: 73.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/2.089, allocations: 328.4 kB / 1.184 GB, free: 72.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002392/2.092, allocations: 0.6996 MB / 1.185 GB, free: 71.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/2.092, allocations: 0 / 1.185 GB, free: 71.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002918/2.095, allocations: 1.07 MB / 1.186 GB, free: 70.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/2.095, allocations: 4 kB / 1.186 GB, free: 70.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/2.095, allocations: 4 kB / 1.186 GB, free: 70.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002486/2.095, allocations: 56.83 kB / 1.186 GB, free: 70.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/2.095, allocations: 155.8 kB / 1.186 GB, free: 70.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005659/2.101, allocations: 13.49 MB / 1.199 GB, free: 56.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006069/2.102, allocations: 62.27 kB / 1.199 GB, free: 56.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.545e-05/2.102, allocations: 51.98 kB / 1.199 GB, free: 55.96 MB / 426.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.0002841/2.102, allocations: 145.1 kB / 1.199 GB, free: 55.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/2.102, allocations: 54.56 kB / 1.199 GB, free: 55.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/2.104, allocations: 0.7075 MB / 1.2 GB, free: 55.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/2.104, allocations: 4 kB / 1.2 GB, free: 55.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/2.104, allocations: 3.984 kB / 1.2 GB, free: 55.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/2.104, allocations: 3.031 kB / 1.2 GB, free: 55.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/2.106, allocations: 1.118 MB / 1.201 GB, free: 53.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/2.106, allocations: 0 / 1.201 GB, free: 53.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/2.106, allocations: 53.84 kB / 1.201 GB, free: 53.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001638/2.107, allocations: 48.83 kB / 1.201 GB, free: 53.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/2.107, allocations: 8 kB / 1.201 GB, free: 53.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004768/2.107, allocations: 0.6172 MB / 1.202 GB, free: 53.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/2.107, allocations: 3.906 kB / 1.202 GB, free: 53.14 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001095/2.108, allocations: 0.6316 MB / 1.202 GB, free: 52.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/2.108, allocations: 152.3 kB / 1.203 GB, free: 52.26 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/2.109, allocations: 4 kB / 1.203 GB, free: 52.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003528/2.109, allocations: 27.62 kB / 1.203 GB, free: 52.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/2.109, allocations: 23.88 kB / 1.203 GB, free: 52.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/2.109, allocations: 12 kB / 1.203 GB, free: 52.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003805/2.109, allocations: 310.9 kB / 1.203 GB, free: 51.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002449/2.112, allocations: 391.4 kB / 1.203 GB, free: 51.51 MB / 426.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.003564/2.115, allocations: 1.358 MB / 1.205 GB, free: 50.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008404/2.116, allocations: 356.7 kB / 1.205 GB, free: 50.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/2.116, allocations: 0 / 1.205 GB, free: 50.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000239/2.117, allocations: 123.4 kB / 1.205 GB, free: 49.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/2.118, allocations: 209.2 kB / 1.205 GB, free: 49.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006671/2.124, allocations: 2.287 MB / 1.207 GB, free: 47.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008601/2.125, allocations: 0.9757 MB / 1.208 GB, free: 46.52 MB / 426.7 MB Notification: Performance of SimCode: time 9.61e-07/2.125, allocations: 4 kB / 1.208 GB, free: 46.51 MB / 426.7 MB Notification: Performance of Templates: time 0.02974/2.155, allocations: 17.81 MB / 1.226 GB, free: 28.75 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1)