Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009985/0.009985, allocations: 174.9 kB / 15.12 MB, free: 5.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.056/2.056, allocations: 194.5 MB / 210.3 MB, free: 7.613 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00207/0.002069, allocations: 116.6 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2772/0.2772, allocations: 40 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004975/0.0004976, allocations: 15.12 kB / 406.3 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1014, allocations: 54.87 MB / 461.1 MB, free: 3.227 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.636/1.737, allocations: 470 MB / 0.9094 GB, free: 130.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/1.738, allocations: 88.38 kB / 0.9094 GB, free: 130.7 MB / 490.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 0.996/2.734, allocations: 196.2 MB / 1.101 GB, free: 101.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.775e-06/2.734, allocations: 0 / 1.101 GB, free: 101.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.251e-05/2.734, allocations: 15.94 kB / 1.101 GB, free: 101.5 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003297/2.737, allocations: 1.121 MB / 1.102 GB, free: 101 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/2.737, allocations: 12.52 kB / 1.102 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002165/2.738, allocations: 84.39 kB / 1.102 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/2.739, allocations: 174.1 kB / 1.102 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/2.741, allocations: 0.5863 MB / 1.103 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/2.741, allocations: 30.09 kB / 1.103 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/2.741, allocations: 42.16 kB / 1.103 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/2.743, allocations: 0.5988 MB / 1.104 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/2.743, allocations: 1.438 kB / 1.104 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-05/2.743, allocations: 23.84 kB / 1.104 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/2.743, allocations: 10.62 kB / 1.104 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/2.744, allocations: 481.9 kB / 1.104 GB, free: 100.6 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.004767/2.749, allocations: 2.605 MB / 1.107 GB, free: 99.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007605/2.75, allocations: 269.7 kB / 1.107 GB, free: 99.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004463/2.75, allocations: 235.1 kB / 1.107 GB, free: 98.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005565/2.751, allocations: 266.3 kB / 1.107 GB, free: 98.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 2.965e-06/2.751, allocations: 2.156 kB / 1.107 GB, free: 98.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.001672/2.752, allocations: 0.6638 MB / 1.108 GB, free: 98.58 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/2.753, allocations: 162.6 kB / 1.108 GB, free: 98.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007821/2.753, allocations: 498.6 kB / 1.109 GB, free: 98.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.712e-05/2.753, allocations: 29.64 kB / 1.109 GB, free: 98.24 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/2.754, allocations: 344.9 kB / 1.109 GB, free: 98.08 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/2.754, allocations: 119.3 kB / 1.109 GB, free: 98.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/2.754, allocations: 10.16 kB / 1.109 GB, free: 98.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/2.754, allocations: 368.6 kB / 1.11 GB, free: 97.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004137/2.754, allocations: 163.2 kB / 1.11 GB, free: 97.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005062/2.755, allocations: 391 kB / 1.11 GB, free: 97.44 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005071/2.755, allocations: 242.4 kB / 1.11 GB, free: 97.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/2.755, allocations: 3.75 kB / 1.11 GB, free: 97.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001519/2.757, allocations: 0.6596 MB / 1.111 GB, free: 97.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005815/2.758, allocations: 2.734 MB / 1.114 GB, free: 94.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/2.758, allocations: 8.188 kB / 1.114 GB, free: 94.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/2.758, allocations: 10.47 kB / 1.114 GB, free: 94.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01202/2.77, allocations: 0.618 MB / 1.114 GB, free: 94.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006542/2.77, allocations: 0.6639 MB / 1.115 GB, free: 93.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000909/2.771, allocations: 68.72 kB / 1.115 GB, free: 93.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/2.771, allocations: 53.84 kB / 1.115 GB, free: 93.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/2.772, allocations: 7.422 kB / 1.115 GB, free: 93.86 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001274/2.773, allocations: 0.5515 MB / 1.116 GB, free: 93.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/2.773, allocations: 8.656 kB / 1.116 GB, free: 93.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/2.773, allocations: 10.19 kB / 1.116 GB, free: 93.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/2.774, allocations: 133.4 kB / 1.116 GB, free: 93.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/2.774, allocations: 15.53 kB / 1.116 GB, free: 93.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006303/2.774, allocations: 61.23 kB / 1.116 GB, free: 93.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/2.774, allocations: 52.84 kB / 1.116 GB, free: 93.81 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004719/2.775, allocations: 310.3 kB / 1.116 GB, free: 93.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/2.775, allocations: 61.58 kB / 1.116 GB, free: 93.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/2.777, allocations: 0.7582 MB / 1.117 GB, free: 93.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/2.777, allocations: 6.656 kB / 1.117 GB, free: 93.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/2.777, allocations: 0 / 1.117 GB, free: 93.46 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.537e-06/2.777, allocations: 6.984 kB / 1.117 GB, free: 93.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002937/2.78, allocations: 1.674 MB / 1.119 GB, free: 92.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/2.78, allocations: 3.656 kB / 1.119 GB, free: 92.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00342/2.784, allocations: 209.6 kB / 1.119 GB, free: 92.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-05/2.784, allocations: 6.281 kB / 1.119 GB, free: 92.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.674e-05/2.784, allocations: 22.36 kB / 1.119 GB, free: 92.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004081/2.784, allocations: 0.6403 MB / 1.119 GB, free: 92.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/2.784, allocations: 6.219 kB / 1.119 GB, free: 92.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/2.786, allocations: 0.7411 MB / 1.12 GB, free: 91.69 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/2.786, allocations: 141.3 kB / 1.12 GB, free: 91.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/2.786, allocations: 13.28 kB / 1.12 GB, free: 91.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005286/2.787, allocations: 41.12 kB / 1.12 GB, free: 91.56 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/2.787, allocations: 28.55 kB / 1.12 GB, free: 91.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.08e-05/2.787, allocations: 35.62 kB / 1.12 GB, free: 91.56 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006077/2.788, allocations: 392.1 kB / 1.121 GB, free: 91.47 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.51e-07/2.788, allocations: 0 / 1.121 GB, free: 91.47 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002715/2.79, allocations: 0.6098 MB / 1.121 GB, free: 91.43 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004412/2.795, allocations: 2.942 MB / 1.124 GB, free: 89.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02168/2.816, allocations: 1.67 MB / 1.126 GB, free: 89.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/2.817, allocations: 6.688 kB / 1.126 GB, free: 89.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005458/2.822, allocations: 496.9 kB / 1.126 GB, free: 89.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/2.824, allocations: 242.3 kB / 1.127 GB, free: 89.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/2.841, allocations: 9.756 MB / 1.136 GB, free: 83.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/2.841, allocations: 0.9035 MB / 1.137 GB, free: 83.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002208/2.843, allocations: 281.4 kB / 1.137 GB, free: 83.01 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007164/2.844, allocations: 250.8 kB / 1.137 GB, free: 83 MB / 490.7 MB Notification: Performance of SimCode: time 1.313e-06/2.844, allocations: 0 / 1.137 GB, free: 83 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1086/2.953, allocations: 32.02 MB / 1.169 GB, free: 81.63 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003133/2.953, allocations: 276.2 kB / 1.169 GB, free: 81.27 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.264/7.217, allocations: 0 / 1.169 GB, free: 81.27 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice_res.mat does not exist to compare? outputFormat=mat