Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_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.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 188.1 kB / 7.805 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.029/1.029, allocations: 205.2 MB / 213.4 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008063/0.0008065, allocations: 92.02 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1562/0.1562, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.61e-06/5.64e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2054, allocations: 58.84 MB / 476.6 MB, free: 5.238 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8729/1.078, allocations: 0.5783 GB / 1.044 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/1.079, allocations: 94.7 kB / 1.044 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.5388/1.618, allocations: 225.7 MB / 1.264 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.849e-05/1.618, allocations: 18.81 kB / 1.264 GB, free: 103.2 MB / 0.4948 GB 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.001709/1.619, allocations: 0.9361 MB / 1.265 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/1.619, allocations: 11.62 kB / 1.265 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009664/1.62, allocations: 136 kB / 1.265 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006888/1.621, allocations: 495.5 kB / 1.266 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/1.621, allocations: 14.31 kB / 1.266 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.69e-05/1.621, allocations: 22.78 kB / 1.266 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005268/1.622, allocations: 405.1 kB / 1.266 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005934/1.622, allocations: 0.4923 MB / 1.267 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/1.622, allocations: 0 / 1.267 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-05/1.622, allocations: 3.938 kB / 1.267 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/1.622, allocations: 11.75 kB / 1.267 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002112/1.624, allocations: 2.665 MB / 1.269 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/1.625, allocations: 238.8 kB / 1.269 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/1.625, allocations: 123.8 kB / 1.27 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002472/1.625, allocations: 318.8 kB / 1.27 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/1.625, allocations: 37.69 kB / 1.27 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/1.625, allocations: 6.094 kB / 1.27 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.002398/1.628, allocations: 0.8196 MB / 1.271 GB, free: 100 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/1.628, allocations: 138.3 kB / 1.271 GB, free: 99.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003303/1.628, allocations: 372.6 kB / 1.271 GB, free: 99.78 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/1.628, allocations: 25.7 kB / 1.271 GB, free: 99.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/1.628, allocations: 245.3 kB / 1.271 GB, free: 99.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/1.628, allocations: 107.1 kB / 1.272 GB, free: 99.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/1.628, allocations: 3.5 kB / 1.272 GB, free: 99.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.238e-05/1.628, allocations: 350.8 kB / 1.272 GB, free: 99.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/1.628, allocations: 161.2 kB / 1.272 GB, free: 99.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/1.629, allocations: 287.7 kB / 1.272 GB, free: 99.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/1.631, allocations: 0.676 MB / 1.273 GB, free: 99.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.631, allocations: 3.906 kB / 1.273 GB, free: 99.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002593/1.633, allocations: 1.041 MB / 1.274 GB, free: 99 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/1.633, allocations: 6.625 kB / 1.274 GB, free: 99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/1.633, allocations: 6.875 kB / 1.274 GB, free: 99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001973/1.634, allocations: 51.77 kB / 1.274 GB, free: 98.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004835/1.634, allocations: 147.6 kB / 1.274 GB, free: 98.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004651/1.639, allocations: 13.48 MB / 1.287 GB, free: 85.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006275/1.64, allocations: 60.98 kB / 1.287 GB, free: 85.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-05/1.64, allocations: 50.31 kB / 1.288 GB, free: 85.16 MB / 0.4948 GB 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: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 45 * 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.0002587/1.64, allocations: 156.9 kB / 1.288 GB, free: 85.05 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.178e-05/1.64, allocations: 48.75 kB / 1.288 GB, free: 85.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/1.642, allocations: 0.7101 MB / 1.288 GB, free: 84.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.642, allocations: 0 / 1.288 GB, free: 84.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/1.642, allocations: 3.375 kB / 1.288 GB, free: 84.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/1.642, allocations: 3.422 kB / 1.288 GB, free: 84.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/1.644, allocations: 1.148 MB / 1.29 GB, free: 84.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.644, allocations: 3.531 kB / 1.29 GB, free: 84.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/1.644, allocations: 54.34 kB / 1.29 GB, free: 84.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001428/1.644, allocations: 50.61 kB / 1.29 GB, free: 84.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/1.644, allocations: 6.812 kB / 1.29 GB, free: 84.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003884/1.644, allocations: 0.6153 MB / 1.29 GB, free: 83.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.644, allocations: 10.56 kB / 1.29 GB, free: 83.83 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009533/1.645, allocations: 0.636 MB / 1.291 GB, free: 83.49 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/1.645, allocations: 157.1 kB / 1.291 GB, free: 83.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.392e-05/1.646, allocations: 3.312 kB / 1.291 GB, free: 83.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/1.646, allocations: 37.09 kB / 1.291 GB, free: 83.36 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/1.646, allocations: 18.11 kB / 1.291 GB, free: 83.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/1.646, allocations: 21.17 kB / 1.291 GB, free: 83.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.000267/1.646, allocations: 305.5 kB / 1.291 GB, free: 83.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001579/1.648, allocations: 395.8 kB / 1.292 GB, free: 83.21 MB / 0.4948 GB 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.001698/1.65, allocations: 1.338 MB / 1.293 GB, free: 82.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006556/1.65, allocations: 362.6 kB / 1.293 GB, free: 82.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.65, allocations: 0 / 1.293 GB, free: 82.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/1.65, allocations: 137.9 kB / 1.294 GB, free: 82.91 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009836/1.651, allocations: 205.6 kB / 1.294 GB, free: 82.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009727/1.652, allocations: 0.5788 MB / 1.294 GB, free: 82.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005724/1.653, allocations: 0.9787 MB / 1.295 GB, free: 81.93 MB / 0.4948 GB Notification: Performance of SimCode: time 3e-07/1.653, allocations: 0 / 1.295 GB, free: 81.93 MB / 0.4948 GB Notification: Performance of Templates: time 0.02925/1.682, allocations: 18.24 MB / 1.313 GB, free: 79.86 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1)