Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002708/0.002708, allocations: 183.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.872/1.872, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001272/0.001272, allocations: 86.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2352/0.2352, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003354, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1392, allocations: 58.85 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.398/1.537, allocations: 475.2 MB / 0.9429 GB, free: 183 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/1.537, allocations: 81.58 kB / 0.943 GB, free: 182.9 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:306:3-308: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 .... [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:306:3-308: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.7626/2.3, allocations: 197.7 MB / 1.136 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.244e-06/2.3, allocations: 0 / 1.136 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.84e-05/2.3, allocations: 15.41 kB / 1.136 GB, free: 114.2 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003702/2.304, allocations: 1.127 MB / 1.137 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/2.304, allocations: 9.625 kB / 1.137 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003794/2.304, allocations: 85.98 kB / 1.137 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/2.306, allocations: 176.9 kB / 1.137 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/2.308, allocations: 0.559 MB / 1.138 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.928e-05/2.308, allocations: 34.8 kB / 1.138 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/2.308, allocations: 44.28 kB / 1.138 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/2.309, allocations: 0.6124 MB / 1.139 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/2.309, allocations: 1.875 kB / 1.139 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/2.31, allocations: 23.19 kB / 1.139 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/2.31, allocations: 15.19 kB / 1.139 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/2.311, allocations: 499.9 kB / 1.139 GB, free: 113.3 MB / 0.5105 GB 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.004583/2.315, allocations: 2.652 MB / 1.142 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006572/2.316, allocations: 284.3 kB / 1.142 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005108/2.317, allocations: 240.2 kB / 1.142 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005611/2.317, allocations: 344.9 kB / 1.143 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 3.466e-06/2.317, allocations: 0 / 1.143 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.001426/2.319, allocations: 0.7261 MB / 1.143 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/2.319, allocations: 295.7 kB / 1.144 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008231/2.32, allocations: 0.5484 MB / 1.144 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.234e-05/2.32, allocations: 37.73 kB / 1.144 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/2.32, allocations: 331.8 kB / 1.144 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/2.32, allocations: 110.8 kB / 1.145 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/2.32, allocations: 10.28 kB / 1.145 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001304/2.32, allocations: 372.8 kB / 1.145 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/2.32, allocations: 165.7 kB / 1.145 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/2.321, allocations: 390.5 kB / 1.145 GB, free: 110 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/2.321, allocations: 250.1 kB / 1.146 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/2.321, allocations: 6.297 kB / 1.146 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00119/2.323, allocations: 0.662 MB / 1.146 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004868/2.323, allocations: 2.034 MB / 1.148 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/2.323, allocations: 6.906 kB / 1.148 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/2.323, allocations: 9.156 kB / 1.148 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007651/2.331, allocations: 0.6098 MB / 1.149 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006729/2.332, allocations: 0.6552 MB / 1.15 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/2.333, allocations: 77.56 kB / 1.15 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002713/2.333, allocations: 55.2 kB / 1.15 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/2.333, allocations: 4.562 kB / 1.15 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001802/2.335, allocations: 0.5486 MB / 1.15 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/2.335, allocations: 6.25 kB / 1.15 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/2.335, allocations: 12.91 kB / 1.15 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004727/2.336, allocations: 128.3 kB / 1.15 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/2.336, allocations: 10.27 kB / 1.15 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008665/2.337, allocations: 67.55 kB / 1.15 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/2.337, allocations: 50 kB / 1.151 GB, free: 107.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (55): * Single equations (assignments): 53 * 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.0005917/2.337, allocations: 310.3 kB / 1.151 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/2.338, allocations: 72.2 kB / 1.151 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/2.339, allocations: 0.8192 MB / 1.152 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/2.339, allocations: 10.98 kB / 1.152 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/2.339, allocations: 0 / 1.152 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/2.339, allocations: 1.375 kB / 1.152 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/2.342, allocations: 1.631 MB / 1.153 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/2.342, allocations: 7.219 kB / 1.153 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001902/2.344, allocations: 215.5 kB / 1.154 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/2.344, allocations: 0 / 1.154 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/2.344, allocations: 23.86 kB / 1.154 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003403/2.344, allocations: 0.6404 MB / 1.154 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/2.344, allocations: 5.906 kB / 1.154 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009813/2.345, allocations: 0.7745 MB / 1.155 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002915/2.345, allocations: 149.8 kB / 1.155 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/2.346, allocations: 15.09 kB / 1.155 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005061/2.346, allocations: 33.38 kB / 1.155 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.439e-05/2.346, allocations: 40.25 kB / 1.155 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.288e-05/2.346, allocations: 37.14 kB / 1.155 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005461/2.347, allocations: 449.9 kB / 1.156 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/2.347, allocations: 0 / 1.156 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002627/2.35, allocations: 0.6228 MB / 1.156 GB, free: 104.7 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: 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.00437/2.354, allocations: 2.901 MB / 1.159 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0119/2.366, allocations: 1.639 MB / 1.161 GB, free: 103 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/2.366, allocations: 0 / 1.161 GB, free: 103 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002986/2.369, allocations: 492.3 kB / 1.161 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/2.371, allocations: 301.1 kB / 1.161 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008119/2.379, allocations: 7.136 MB / 1.168 GB, free: 98.29 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/2.379, allocations: 0.9049 MB / 1.169 GB, free: 97.59 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001645/2.381, allocations: 277.6 kB / 1.17 GB, free: 97.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005079/2.382, allocations: 254 kB / 1.17 GB, free: 97.57 MB / 0.5105 GB Notification: Performance of SimCode: time 1.493e-06/2.382, allocations: 0 / 1.17 GB, free: 97.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06696/2.449, allocations: 34.6 MB / 1.204 GB, free: 95.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/2.449, allocations: 275.7 kB / 1.204 GB, free: 95.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.268/5.717, allocations: 0 / 1.204 GB, free: 95.59 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice_res.mat does not exist to compare? outputFormat=mat