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.001237/0.001237, allocations: 179.7 kB / 14.15 MB, free: 1.176 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.42/1.42, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008563/0.0008563, allocations: 86.03 kB / 287 MB, free: 264 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2079/0.2079, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.271e-05/3.279e-05, allocations: 224 / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1406, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.168, allocations: 336 MB / 0.83 GB, free: 71.84 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004357/1.168, allocations: 83.45 kB / 0.83 GB, free: 71.8 MB / 0.5105 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.509/2.677, allocations: 340.7 MB / 1.163 GB, free: 77.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.693e-06/2.678, allocations: 0 / 1.163 GB, free: 77.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001116/2.678, allocations: 38.41 kB / 1.163 GB, free: 77.66 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.004452/2.682, allocations: 1.788 MB / 1.165 GB, free: 76.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/2.682, allocations: 11.09 kB / 1.165 GB, free: 76.91 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002559/2.682, allocations: 152 kB / 1.165 GB, free: 76.87 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007022/2.683, allocations: 184 kB / 1.165 GB, free: 76.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/2.685, allocations: 1.06 MB / 1.166 GB, free: 76.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.008e-05/2.685, allocations: 76.69 kB / 1.166 GB, free: 76.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/2.685, allocations: 94.97 kB / 1.166 GB, free: 76.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/2.688, allocations: 1.451 MB / 1.168 GB, free: 76.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/2.688, allocations: 3 kB / 1.168 GB, free: 76.21 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/2.688, allocations: 51 kB / 1.168 GB, free: 76.21 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.815e-05/2.688, allocations: 58.44 kB / 1.168 GB, free: 76.21 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/2.69, allocations: 1.302 MB / 1.169 GB, free: 76.2 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.00797/2.698, allocations: 6.581 MB / 1.175 GB, free: 72.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008713/2.699, allocations: 0.5312 MB / 1.176 GB, free: 72.56 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004389/2.699, allocations: 340.3 kB / 1.176 GB, free: 72.55 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01782/2.717, allocations: 17.06 MB / 1.193 GB, free: 56 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006163/2.717, allocations: 475.8 kB / 1.193 GB, free: 55.83 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 2.484e-06/2.717, allocations: 0 / 1.193 GB, free: 55.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.001293/2.719, allocations: 0.6943 MB / 1.194 GB, free: 55.69 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/2.719, allocations: 0.5428 MB / 1.194 GB, free: 55.03 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/2.72, allocations: 1.133 MB / 1.196 GB, free: 54.85 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.053e-05/2.72, allocations: 35.33 kB / 1.196 GB, free: 54.82 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/2.721, allocations: 0.713 MB / 1.196 GB, free: 54.51 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/2.721, allocations: 175.9 kB / 1.196 GB, free: 54.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/2.721, allocations: 23.56 kB / 1.197 GB, free: 54.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.794e-05/2.721, allocations: 351.1 kB / 1.197 GB, free: 54.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004565/2.721, allocations: 321.3 kB / 1.197 GB, free: 54.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007049/2.722, allocations: 0.8568 MB / 1.198 GB, free: 53.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006288/2.723, allocations: 490.2 kB / 1.198 GB, free: 53.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/2.723, allocations: 3.531 kB / 1.198 GB, free: 53.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002175/2.725, allocations: 1.285 MB / 1.2 GB, free: 53.26 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001055/2.726, allocations: 5.58 MB / 1.205 GB, free: 47.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/2.726, allocations: 14.59 kB / 1.205 GB, free: 47.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.756e-05/2.726, allocations: 23.19 kB / 1.205 GB, free: 47.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/2.728, allocations: 387.2 kB / 1.206 GB, free: 47.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005555/2.729, allocations: 1.279 MB / 1.207 GB, free: 46.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/2.73, allocations: 182.4 kB / 1.207 GB, free: 46.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/2.73, allocations: 72.44 kB / 1.207 GB, free: 46.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/2.73, allocations: 3.5 kB / 1.207 GB, free: 46.25 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001576/2.732, allocations: 1.091 MB / 1.208 GB, free: 46.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/2.732, allocations: 15.75 kB / 1.208 GB, free: 46.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/2.732, allocations: 21.34 kB / 1.208 GB, free: 46.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000862/2.733, allocations: 281.2 kB / 1.208 GB, free: 46.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000222/2.733, allocations: 0.6295 MB / 1.209 GB, free: 45.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/2.734, allocations: 156.7 kB / 1.209 GB, free: 45.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.513e-05/2.734, allocations: 64.09 kB / 1.209 GB, free: 45.55 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 () * 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.0002895/2.735, allocations: 219.1 kB / 1.209 GB, free: 45.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/2.735, allocations: 138.2 kB / 1.21 GB, free: 45.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/2.737, allocations: 1.371 MB / 1.211 GB, free: 45.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/2.737, allocations: 14.11 kB / 1.211 GB, free: 45.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/2.737, allocations: 0 / 1.211 GB, free: 45.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/2.737, allocations: 3.938 kB / 1.211 GB, free: 45.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003219/2.74, allocations: 2.157 MB / 1.213 GB, free: 44.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/2.74, allocations: 2.594 kB / 1.213 GB, free: 44.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/2.742, allocations: 260.1 kB / 1.213 GB, free: 44.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.427e-05/2.742, allocations: 10.58 kB / 1.213 GB, free: 44.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-05/2.742, allocations: 28.38 kB / 1.213 GB, free: 44.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004819/2.743, allocations: 1.227 MB / 1.215 GB, free: 43.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/2.743, allocations: 0 / 1.215 GB, free: 43.64 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/2.744, allocations: 1.052 MB / 1.216 GB, free: 43.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004175/2.745, allocations: 261 kB / 1.216 GB, free: 43.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/2.745, allocations: 21.2 kB / 1.216 GB, free: 43.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007229/2.745, allocations: 61.11 kB / 1.216 GB, free: 43.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.587e-05/2.746, allocations: 61.47 kB / 1.216 GB, free: 43.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.867e-05/2.746, allocations: 29.64 kB / 1.216 GB, free: 43.15 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001044/2.747, allocations: 0.888 MB / 1.217 GB, free: 43.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.61e-07/2.747, allocations: 0 / 1.217 GB, free: 43.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004015/2.751, allocations: 1.409 MB / 1.218 GB, free: 42.75 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) * 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.004819/2.756, allocations: 2.894 MB / 1.221 GB, free: 41.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004434/2.76, allocations: 1.833 MB / 1.223 GB, free: 41.44 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/2.76, allocations: 0 / 1.223 GB, free: 41.44 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002594/2.763, allocations: 0.6604 MB / 1.223 GB, free: 41.37 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003236/2.766, allocations: 0.5627 MB / 1.224 GB, free: 41.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005543/2.771, allocations: 2.237 MB / 1.226 GB, free: 40.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005172/2.772, allocations: 1.214 MB / 1.227 GB, free: 39.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001964/2.774, allocations: 0.5421 MB / 1.228 GB, free: 39.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000585/2.775, allocations: 0.5193 MB / 1.228 GB, free: 39.87 MB / 0.5261 GB Notification: Performance of SimCode: time 8.22e-07/2.775, allocations: 0 / 1.228 GB, free: 39.87 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.079/2.854, allocations: 52.67 MB / 1.28 GB, free: 33.53 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/2.854, allocations: 231.1 kB / 1.28 GB, free: 33.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.13/6.984, allocations: 4.062 kB / 1.28 GB, free: 33.22 MB / 0.5261 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