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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.001019, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.466/1.466, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009577/0.0009577, allocations: 90.62 kB / 261.8 MB, free: 1.672 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.2092/0.2092, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.624e-05/1.627e-05, allocations: 0 / 418.3 MB, free: 28.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1199, allocations: 58.86 MB / 477.1 MB, free: 1.605 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.3/1.42, allocations: 0.5784 GB / 1.044 GB, free: 38.39 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/1.42, allocations: 98 kB / 1.044 GB, free: 38.34 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6864/2.107, allocations: 224.8 MB / 1.264 GB, free: 20.05 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.312e-06/2.107, allocations: 0 / 1.264 GB, free: 20.05 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.871e-05/2.107, allocations: 12 kB / 1.264 GB, free: 20.04 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.002174/2.109, allocations: 0.9202 MB / 1.265 GB, free: 19.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/2.109, allocations: 12.03 kB / 1.265 GB, free: 19.06 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/2.11, allocations: 139.1 kB / 1.265 GB, free: 18.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008791/2.111, allocations: 0.491 MB / 1.265 GB, free: 18.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/2.111, allocations: 12 kB / 1.265 GB, free: 18.38 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.268e-05/2.111, allocations: 24 kB / 1.265 GB, free: 18.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006586/2.112, allocations: 398.5 kB / 1.266 GB, free: 17.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007202/2.113, allocations: 0.4967 MB / 1.266 GB, free: 17.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/2.113, allocations: 3.938 kB / 1.266 GB, free: 17.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.768e-05/2.113, allocations: 7.953 kB / 1.266 GB, free: 17.42 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/2.113, allocations: 8 kB / 1.266 GB, free: 17.41 MB / 0.4948 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.002639/2.115, allocations: 2.62 MB / 1.269 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/2.116, allocations: 238.8 kB / 1.269 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/2.116, allocations: 124.8 kB / 1.269 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003171/2.116, allocations: 321.6 kB / 1.27 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/2.116, allocations: 34.56 kB / 1.27 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 2.505e-06/2.116, allocations: 0 / 1.27 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.002403/2.119, allocations: 0.779 MB / 1.27 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/2.119, allocations: 136.5 kB / 1.27 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003743/2.119, allocations: 381.1 kB / 1.271 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/2.119, allocations: 25.7 kB / 1.271 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/2.119, allocations: 291.6 kB / 1.271 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.159e-05/2.119, allocations: 98.5 kB / 1.271 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/2.119, allocations: 0 / 1.271 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.951e-05/2.119, allocations: 362.7 kB / 1.272 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/2.12, allocations: 153.1 kB / 1.272 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/2.12, allocations: 292.2 kB / 1.272 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001967/2.122, allocations: 0.6258 MB / 1.273 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/2.122, allocations: 4 kB / 1.273 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002446/2.124, allocations: 0.9785 MB / 1.274 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/2.124, allocations: 8 kB / 1.274 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/2.124, allocations: 4.438 kB / 1.274 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002163/2.125, allocations: 52.83 kB / 1.274 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004705/2.125, allocations: 143.8 kB / 1.274 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2769/2.402, allocations: 28.2 MB / 1.301 GB, free: 76.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000648/2.403, allocations: 56.7 kB / 1.301 GB, free: 76.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.127e-05/2.403, allocations: 48.94 kB / 1.301 GB, free: 76.73 MB / 0.4948 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.0002624/2.403, allocations: 152.8 kB / 1.302 GB, free: 76.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.841e-05/2.403, allocations: 46.69 kB / 1.302 GB, free: 76.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/2.405, allocations: 0.6225 MB / 1.302 GB, free: 76.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/2.405, allocations: 7.078 kB / 1.302 GB, free: 76.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/2.405, allocations: 4.453 kB / 1.302 GB, free: 76.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/2.405, allocations: 2.594 kB / 1.302 GB, free: 76.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/2.407, allocations: 1.118 MB / 1.303 GB, free: 75.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/2.407, allocations: 2.812 kB / 1.303 GB, free: 75.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/2.407, allocations: 54.66 kB / 1.303 GB, free: 75.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001564/2.407, allocations: 48.67 kB / 1.303 GB, free: 75.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/2.407, allocations: 8.156 kB / 1.303 GB, free: 75.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004301/2.408, allocations: 0.6073 MB / 1.304 GB, free: 75.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/2.408, allocations: 8.188 kB / 1.304 GB, free: 75.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/2.409, allocations: 0.6124 MB / 1.305 GB, free: 75.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/2.409, allocations: 147.5 kB / 1.305 GB, free: 75.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.035e-05/2.409, allocations: 4.297 kB / 1.305 GB, free: 75.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003595/2.409, allocations: 31.56 kB / 1.305 GB, free: 75.01 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/2.409, allocations: 29.86 kB / 1.305 GB, free: 75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.45e-05/2.409, allocations: 19.05 kB / 1.305 GB, free: 75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003799/2.41, allocations: 309.6 kB / 1.305 GB, free: 74.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/2.41, allocations: 1.594 kB / 1.305 GB, free: 74.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001871/2.412, allocations: 395.7 kB / 1.306 GB, free: 74.91 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.002267/2.414, allocations: 1.329 MB / 1.307 GB, free: 74.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007317/2.415, allocations: 342.5 kB / 1.307 GB, free: 74.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/2.415, allocations: 0.875 kB / 1.307 GB, free: 74.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002302/2.415, allocations: 123.5 kB / 1.307 GB, free: 74.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/2.416, allocations: 214.4 kB / 1.307 GB, free: 74.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/2.417, allocations: 0.5701 MB / 1.308 GB, free: 74.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/2.418, allocations: 0.8678 MB / 1.309 GB, free: 73.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007786/2.418, allocations: 184.7 kB / 1.309 GB, free: 73.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/2.419, allocations: 64.84 kB / 1.309 GB, free: 73.76 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/2.419, allocations: 0 / 1.309 GB, free: 73.76 MB / 0.4948 GB Notification: Performance of Templates: time 0.03064/2.449, allocations: 17.1 MB / 1.326 GB, free: 73.22 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)