Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.623/1.623, allocations: 223.2 MB / 241 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 94.14 kB / 292.1 MB, free: 10.69 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.4101/0.4101, allocations: 44.22 MB / 387.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003677, allocations: 8 kB / 460 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.4274, allocations: 61.91 MB / 0.5096 GB, free: 37.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7539/1.181, allocations: 336.1 MB / 0.8379 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003743/1.182, allocations: 95.97 kB / 0.838 GB, free: 10.04 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 4.0.0+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 1.487/2.669, allocations: 341.9 MB / 1.172 GB, free: 85.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.575e-06/2.669, allocations: 0 / 1.172 GB, free: 85.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001657/2.669, allocations: 34.3 kB / 1.172 GB, free: 85.48 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.006847/2.676, allocations: 1.971 MB / 1.174 GB, free: 84.45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.514e-05/2.676, allocations: 11.75 kB / 1.174 GB, free: 84.45 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008149/2.677, allocations: 159.2 kB / 1.174 GB, free: 84.41 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/2.678, allocations: 180.2 kB / 1.174 GB, free: 84.33 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003845/2.682, allocations: 1.062 MB / 1.175 GB, free: 84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/2.682, allocations: 79.05 kB / 1.175 GB, free: 84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004165/2.683, allocations: 94.38 kB / 1.175 GB, free: 84 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003266/2.686, allocations: 1.481 MB / 1.177 GB, free: 83.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/2.686, allocations: 0 / 1.177 GB, free: 83.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002318/2.686, allocations: 55.03 kB / 1.177 GB, free: 83.69 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.104e-05/2.686, allocations: 55.31 kB / 1.177 GB, free: 83.69 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002223/2.689, allocations: 1.335 MB / 1.178 GB, free: 83.68 MB / 0.5261 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.009745/2.698, allocations: 6.556 MB / 1.185 GB, free: 80.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/2.7, allocations: 0.5429 MB / 1.185 GB, free: 80 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02181/2.721, allocations: 16.93 MB / 1.202 GB, free: 63.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007936/2.722, allocations: 476.1 kB / 1.202 GB, free: 63.26 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 3.527e-06/2.722, allocations: 0 / 1.202 GB, free: 63.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.002212/2.724, allocations: 0.987 MB / 1.203 GB, free: 63.02 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001704/2.725, allocations: 0.5419 MB / 1.204 GB, free: 62.37 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/2.727, allocations: 1.149 MB / 1.205 GB, free: 62.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001214/2.727, allocations: 38.98 kB / 1.205 GB, free: 62.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006624/2.728, allocations: 0.7035 MB / 1.205 GB, free: 61.86 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/2.728, allocations: 184.8 kB / 1.206 GB, free: 61.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.652e-05/2.728, allocations: 25.09 kB / 1.206 GB, free: 61.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001065/2.728, allocations: 350.1 kB / 1.206 GB, free: 61.44 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005689/2.729, allocations: 327.6 kB / 1.206 GB, free: 61.44 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009511/2.73, allocations: 0.8708 MB / 1.207 GB, free: 60.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000795/2.731, allocations: 490.8 kB / 1.208 GB, free: 60.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-05/2.731, allocations: 3.719 kB / 1.208 GB, free: 60.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002574/2.733, allocations: 1.299 MB / 1.209 GB, free: 60.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001808/2.735, allocations: 5.581 MB / 1.214 GB, free: 54.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.914e-05/2.735, allocations: 14.69 kB / 1.214 GB, free: 54.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.162e-05/2.735, allocations: 25.64 kB / 1.214 GB, free: 54.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002347/2.737, allocations: 389.2 kB / 1.215 GB, free: 54.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007176/2.738, allocations: 1.273 MB / 1.216 GB, free: 53.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/2.74, allocations: 188.3 kB / 1.216 GB, free: 53.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/2.74, allocations: 63.92 kB / 1.216 GB, free: 53.35 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/2.74, allocations: 3.969 kB / 1.216 GB, free: 53.35 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001944/2.742, allocations: 1.113 MB / 1.217 GB, free: 52.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.221e-05/2.742, allocations: 17.5 kB / 1.217 GB, free: 52.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/2.742, allocations: 21.88 kB / 1.217 GB, free: 52.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009706/2.743, allocations: 281.6 kB / 1.218 GB, free: 52.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003062/2.744, allocations: 0.6262 MB / 1.218 GB, free: 52.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/2.745, allocations: 156 kB / 1.218 GB, free: 52.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/2.745, allocations: 66.11 kB / 1.218 GB, free: 52.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009324/2.746, allocations: 429.4 kB / 1.219 GB, free: 51.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000419/2.747, allocations: 143.5 kB / 1.219 GB, free: 51.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002831/2.75, allocations: 1.391 MB / 1.22 GB, free: 51.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/2.75, allocations: 7.531 kB / 1.22 GB, free: 51.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/2.75, allocations: 3.438 kB / 1.22 GB, free: 51.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/2.75, allocations: 3 kB / 1.22 GB, free: 51.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004678/2.754, allocations: 2.172 MB / 1.223 GB, free: 50.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/2.754, allocations: 2.781 kB / 1.223 GB, free: 50.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002041/2.756, allocations: 267.4 kB / 1.223 GB, free: 50.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.08e-05/2.757, allocations: 3.719 kB / 1.223 GB, free: 50.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-05/2.757, allocations: 30.73 kB / 1.223 GB, free: 50.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006322/2.757, allocations: 1.233 MB / 1.224 GB, free: 49.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/2.757, allocations: 0 / 1.224 GB, free: 49.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/2.759, allocations: 1.06 MB / 1.225 GB, free: 48.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007899/2.76, allocations: 261.5 kB / 1.225 GB, free: 48.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005308/2.76, allocations: 26.64 kB / 1.225 GB, free: 48.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/2.761, allocations: 60.02 kB / 1.225 GB, free: 48.28 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/2.762, allocations: 54.17 kB / 1.225 GB, free: 48.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.824e-05/2.762, allocations: 33.77 kB / 1.225 GB, free: 48.26 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001688/2.763, allocations: 0.9037 MB / 1.226 GB, free: 47.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.11e-07/2.763, allocations: 0 / 1.226 GB, free: 47.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006253/2.77, allocations: 1.402 MB / 1.228 GB, free: 47.52 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (77): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007557/2.777, allocations: 2.919 MB / 1.231 GB, free: 46.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005964/2.783, allocations: 1.815 MB / 1.232 GB, free: 45.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/2.783, allocations: 0 / 1.232 GB, free: 45.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003141/2.786, allocations: 0.6694 MB / 1.233 GB, free: 45.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003975/2.79, allocations: 0.5593 MB / 1.234 GB, free: 45.05 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/2.802, allocations: 13.4 MB / 1.247 GB, free: 32.95 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00098/2.803, allocations: 1.207 MB / 1.248 GB, free: 32.21 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002329/2.805, allocations: 474.2 kB / 1.248 GB, free: 32.09 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008385/2.806, allocations: 0.5316 MB / 1.249 GB, free: 31.72 MB / 0.5261 GB Notification: Performance of SimCode: time 1.724e-06/2.806, allocations: 0 / 1.249 GB, free: 31.72 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1018/2.908, allocations: 49.85 MB / 1.297 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006899/2.909, allocations: 266 kB / 1.298 GB, free: 9.438 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.36/7.269, allocations: 0 / 1.298 GB, free: 9.438 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat does not exist to compare? outputFormat=mat