Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009695/0.0009696, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 221.5 MB / 230.7 MB, free: 7.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008766/0.0008766, allocations: 91.47 kB / 281.6 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1963/0.1963, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.615e-05/1.578e-05, allocations: 224 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.24/1.379, allocations: 492.8 MB / 0.9759 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/1.38, allocations: 95.94 kB / 0.976 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7094/2.089, allocations: 210.1 MB / 1.181 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.813e-06/2.089, allocations: 0 / 1.181 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.491e-05/2.089, allocations: 14.88 kB / 1.181 GB, free: 110.4 MB / 0.5105 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.002628/2.092, allocations: 0.8619 MB / 1.182 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/2.092, allocations: 15.83 kB / 1.182 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/2.093, allocations: 132.1 kB / 1.182 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/2.094, allocations: 490.5 kB / 1.183 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/2.094, allocations: 14.97 kB / 1.183 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-05/2.095, allocations: 21.94 kB / 1.183 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006649/2.095, allocations: 400.5 kB / 1.183 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007763/2.096, allocations: 0.4981 MB / 1.183 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/2.096, allocations: 8.391 kB / 1.183 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-05/2.096, allocations: 4 kB / 1.184 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/2.096, allocations: 11.22 kB / 1.184 GB, free: 108.7 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002787/2.099, allocations: 2.606 MB / 1.186 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/2.099, allocations: 240.7 kB / 1.186 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/2.099, allocations: 131.2 kB / 1.186 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003654/2.1, allocations: 438.4 kB / 1.187 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/2.1, allocations: 46.52 kB / 1.187 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 2.004e-06/2.1, allocations: 0 / 1.187 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30): time 0.002193/2.102, allocations: 0.6323 MB / 1.187 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/2.102, allocations: 130.8 kB / 1.188 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003862/2.103, allocations: 381.5 kB / 1.188 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/2.103, allocations: 25.7 kB / 1.188 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/2.103, allocations: 302.6 kB / 1.188 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.305e-05/2.103, allocations: 97.84 kB / 1.188 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/2.103, allocations: 0 / 1.188 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.437e-05/2.103, allocations: 362.2 kB / 1.189 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/2.103, allocations: 150.4 kB / 1.189 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/2.103, allocations: 293.5 kB / 1.189 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001808/2.105, allocations: 499.4 kB / 1.19 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/2.105, allocations: 0 / 1.19 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002301/2.107, allocations: 0.8468 MB / 1.19 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/2.108, allocations: 7.953 kB / 1.19 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.232e-05/2.108, allocations: 8 kB / 1.19 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002267/2.108, allocations: 48.83 kB / 1.191 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004935/2.108, allocations: 143.8 kB / 1.191 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006535/2.115, allocations: 28.2 MB / 1.218 GB, free: 72.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007532/2.116, allocations: 55.77 kB / 1.218 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-05/2.116, allocations: 51.98 kB / 1.218 GB, free: 72.5 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in equation system with 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 with 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 with 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 with 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 with 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 with 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 with 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 with 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 with 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 with 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.000304/2.116, allocations: 156 kB / 1.218 GB, free: 72.35 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.701e-05/2.116, allocations: 47.48 kB / 1.218 GB, free: 72.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001935/2.118, allocations: 0.9859 MB / 1.219 GB, free: 71.31 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/2.118, allocations: 8 kB / 1.219 GB, free: 71.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/2.118, allocations: 0 / 1.219 GB, free: 71.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/2.118, allocations: 0 / 1.219 GB, free: 71.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/2.12, allocations: 1.118 MB / 1.221 GB, free: 70.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/2.12, allocations: 4 kB / 1.221 GB, free: 70.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/2.12, allocations: 59.89 kB / 1.221 GB, free: 70.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001414/2.12, allocations: 40.84 kB / 1.221 GB, free: 69.99 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/2.12, allocations: 11.97 kB / 1.221 GB, free: 69.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003884/2.121, allocations: 0.6072 MB / 1.221 GB, free: 69.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/2.121, allocations: 0 / 1.221 GB, free: 69.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009476/2.122, allocations: 0.6227 MB / 1.222 GB, free: 68.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/2.122, allocations: 148.4 kB / 1.222 GB, free: 68.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/2.122, allocations: 4 kB / 1.222 GB, free: 68.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/2.122, allocations: 27.97 kB / 1.222 GB, free: 68.44 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/2.122, allocations: 31.86 kB / 1.222 GB, free: 68.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/2.122, allocations: 15.98 kB / 1.222 GB, free: 68.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002728/2.122, allocations: 314.9 kB / 1.222 GB, free: 68.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/2.122, allocations: 0 / 1.222 GB, free: 68.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001501/2.124, allocations: 347.4 kB / 1.223 GB, free: 67.75 MB / 0.5105 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.001699/2.126, allocations: 1.229 MB / 1.224 GB, free: 66.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006176/2.126, allocations: 348.2 kB / 1.224 GB, free: 66.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/2.126, allocations: 4.312 kB / 1.224 GB, free: 66.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001841/2.126, allocations: 124.2 kB / 1.224 GB, free: 66.19 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/2.128, allocations: 220.9 kB / 1.225 GB, free: 65.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009509/2.129, allocations: 0.5664 MB / 1.225 GB, free: 65.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/2.129, allocations: 0.8667 MB / 1.226 GB, free: 64.48 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001038/2.13, allocations: 0.5345 MB / 1.227 GB, free: 63.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/2.13, allocations: 75.39 kB / 1.227 GB, free: 63.87 MB / 0.5105 GB Notification: Performance of SimCode: time 3.156e-06/2.13, allocations: 0 / 1.227 GB, free: 63.87 MB / 0.5105 GB Notification: Performance of Templates: time 0.0219/2.152, allocations: 16.34 MB / 1.243 GB, free: 47.61 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1)