Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009854/0.0009856, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.273/1.273, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009156/0.0009157, allocations: 94.2 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.199/0.199, allocations: 45.13 MB / 383.7 MB, free: 284 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.34e-05/1.341e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1057, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.294/1.4, allocations: 493.8 MB / 0.9866 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/1.4, allocations: 98.38 kB / 0.9867 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6836/2.084, allocations: 210.1 MB / 1.192 GB, free: 117 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.453e-06/2.084, allocations: 0 / 1.192 GB, free: 117 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.637e-05/2.084, allocations: 17.22 kB / 1.192 GB, free: 117 MB / 0.5261 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.002151/2.086, allocations: 0.8669 MB / 1.193 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/2.086, allocations: 9.062 kB / 1.193 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/2.087, allocations: 139.5 kB / 1.193 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008854/2.088, allocations: 495.5 kB / 1.193 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/2.088, allocations: 12.53 kB / 1.193 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.888e-05/2.088, allocations: 28.03 kB / 1.193 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006025/2.089, allocations: 401.5 kB / 1.194 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007059/2.089, allocations: 0.4965 MB / 1.194 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/2.089, allocations: 6.938 kB / 1.194 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.484e-05/2.09, allocations: 3.875 kB / 1.194 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/2.09, allocations: 15.23 kB / 1.194 GB, free: 116.1 MB / 0.5261 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.002599/2.092, allocations: 2.594 MB / 1.197 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/2.092, allocations: 244.9 kB / 1.197 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/2.093, allocations: 123.6 kB / 1.197 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003137/2.093, allocations: 433.7 kB / 1.198 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/2.093, allocations: 37.84 kB / 1.198 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 2.605e-06/2.093, allocations: 0 / 1.198 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.002142/2.095, allocations: 0.6365 MB / 1.198 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/2.095, allocations: 134.1 kB / 1.198 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004177/2.096, allocations: 380 kB / 1.199 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/2.096, allocations: 25.7 kB / 1.199 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/2.096, allocations: 293.6 kB / 1.199 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.989e-05/2.096, allocations: 106.4 kB / 1.199 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/2.096, allocations: 0 / 1.199 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.572e-05/2.096, allocations: 354.7 kB / 1.2 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/2.096, allocations: 152.5 kB / 1.2 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/2.097, allocations: 298.3 kB / 1.2 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/2.098, allocations: 489.8 kB / 1.2 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/2.098, allocations: 3.125 kB / 1.2 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002275/2.101, allocations: 0.8486 MB / 1.201 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/2.101, allocations: 6.375 kB / 1.201 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/2.101, allocations: 7.172 kB / 1.201 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002201/2.101, allocations: 51.58 kB / 1.201 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/2.101, allocations: 154.7 kB / 1.201 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006316/2.108, allocations: 28.21 MB / 1.229 GB, free: 83.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005792/2.108, allocations: 59.55 kB / 1.229 GB, free: 83.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.341e-05/2.108, allocations: 47.42 kB / 1.229 GB, free: 83.74 MB / 0.5261 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.0002803/2.109, allocations: 157.8 kB / 1.229 GB, free: 83.63 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/2.109, allocations: 51.8 kB / 1.229 GB, free: 83.61 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/2.111, allocations: 0.981 MB / 1.23 GB, free: 83.49 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/2.111, allocations: 2.25 kB / 1.23 GB, free: 83.49 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/2.111, allocations: 3.375 kB / 1.23 GB, free: 83.49 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/2.111, allocations: 0 / 1.23 GB, free: 83.49 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/2.113, allocations: 1.118 MB / 1.231 GB, free: 82.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/2.113, allocations: 0 / 1.231 GB, free: 82.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/2.113, allocations: 56.89 kB / 1.231 GB, free: 82.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001412/2.113, allocations: 50.48 kB / 1.231 GB, free: 82.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/2.113, allocations: 9.844 kB / 1.231 GB, free: 82.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003971/2.113, allocations: 0.6075 MB / 1.232 GB, free: 82.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/2.113, allocations: 6.062 kB / 1.232 GB, free: 82.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/2.114, allocations: 0.6149 MB / 1.233 GB, free: 82.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/2.115, allocations: 148.2 kB / 1.233 GB, free: 81.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.246e-05/2.115, allocations: 7.297 kB / 1.233 GB, free: 81.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/2.115, allocations: 28.89 kB / 1.233 GB, free: 81.96 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/2.115, allocations: 27.95 kB / 1.233 GB, free: 81.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/2.115, allocations: 15.92 kB / 1.233 GB, free: 81.96 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003097/2.116, allocations: 313.9 kB / 1.233 GB, free: 81.88 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/2.116, allocations: 0 / 1.233 GB, free: 81.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001594/2.117, allocations: 347.9 kB / 1.234 GB, free: 81.84 MB / 0.5261 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.002164/2.119, allocations: 1.241 MB / 1.235 GB, free: 81.62 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007328/2.12, allocations: 349.8 kB / 1.235 GB, free: 81.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/2.12, allocations: 0 / 1.235 GB, free: 81.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/2.12, allocations: 127.6 kB / 1.235 GB, free: 81.62 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/2.121, allocations: 221.8 kB / 1.235 GB, free: 81.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/2.123, allocations: 0.5536 MB / 1.236 GB, free: 81.35 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/2.123, allocations: 0.868 MB / 1.237 GB, free: 80.65 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001085/2.124, allocations: 0.541 MB / 1.237 GB, free: 80.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/2.124, allocations: 74.58 kB / 1.237 GB, free: 80.61 MB / 0.5261 GB Notification: Performance of SimCode: time 7.11e-07/2.124, allocations: 0 / 1.237 GB, free: 80.61 MB / 0.5261 GB Notification: Performance of Templates: time 0.02591/2.15, allocations: 16.37 MB / 1.253 GB, free: 79.54 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1)