Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.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.TestWallFriction,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction",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.001446/0.001446, allocations: 183.7 kB / 15.76 MB, free: 6.363 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.817/1.817, 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.0009973/0.0009973, allocations: 98.84 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.2354/0.2354, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003333, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1432, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9955/1.139, allocations: 335.6 MB / 0.8066 GB, free: 84.39 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000381/1.139, allocations: 84.42 kB / 0.8067 GB, free: 84.34 MB / 0.4948 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 1.349/2.488, allocations: 337.4 MB / 1.136 GB, free: 73.08 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.114e-06/2.488, allocations: 0 / 1.136 GB, free: 73.08 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001746/2.488, allocations: 37.03 kB / 1.136 GB, free: 73.08 MB / 0.4948 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.0067/2.495, allocations: 1.97 MB / 1.138 GB, free: 72.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/2.495, allocations: 7.812 kB / 1.138 GB, free: 72.14 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006981/2.496, allocations: 160.7 kB / 1.138 GB, free: 72.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/2.497, allocations: 185.8 kB / 1.138 GB, free: 72.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/2.5, allocations: 1.076 MB / 1.139 GB, free: 71.69 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/2.501, allocations: 78.61 kB / 1.14 GB, free: 71.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003479/2.501, allocations: 95.55 kB / 1.14 GB, free: 71.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002993/2.504, allocations: 1.483 MB / 1.141 GB, free: 71.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/2.504, allocations: 6.969 kB / 1.141 GB, free: 71.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002137/2.504, allocations: 40.81 kB / 1.141 GB, free: 71.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.939e-05/2.504, allocations: 54.36 kB / 1.141 GB, free: 71.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/2.507, allocations: 1.329 MB / 1.143 GB, free: 71.37 MB / 0.4948 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.01006/2.517, allocations: 6.638 MB / 1.149 GB, free: 67.72 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009478/2.518, allocations: 0.5469 MB / 1.15 GB, free: 67.69 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02008/2.538, allocations: 16.98 MB / 1.166 GB, free: 51.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007347/2.539, allocations: 482.6 kB / 1.167 GB, free: 50.94 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 2.565e-06/2.539, allocations: 0 / 1.167 GB, free: 50.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.001913/2.541, allocations: 0.9901 MB / 1.168 GB, free: 50.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001924/2.541, allocations: 0.5461 MB / 1.168 GB, free: 50.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/2.542, allocations: 1.149 MB / 1.169 GB, free: 49.87 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-05/2.542, allocations: 36.8 kB / 1.169 GB, free: 49.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005026/2.543, allocations: 0.7134 MB / 1.17 GB, free: 49.53 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/2.543, allocations: 170.7 kB / 1.17 GB, free: 49.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/2.543, allocations: 23.53 kB / 1.17 GB, free: 49.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001053/2.543, allocations: 347.8 kB / 1.17 GB, free: 49.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005184/2.544, allocations: 328.5 kB / 1.171 GB, free: 49.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007673/2.545, allocations: 0.8651 MB / 1.172 GB, free: 48.47 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006587/2.545, allocations: 491.7 kB / 1.172 GB, free: 48.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/2.545, allocations: 3.125 kB / 1.172 GB, free: 48.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002062/2.547, allocations: 1.304 MB / 1.173 GB, free: 48.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001421/2.549, allocations: 5.577 MB / 1.179 GB, free: 42.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/2.549, allocations: 22.23 kB / 1.179 GB, free: 42.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.66e-05/2.549, allocations: 19.47 kB / 1.179 GB, free: 42.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002217/2.551, allocations: 398.1 kB / 1.179 GB, free: 42.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007252/2.552, allocations: 1.27 MB / 1.18 GB, free: 41.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/2.553, allocations: 185.3 kB / 1.181 GB, free: 41.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/2.553, allocations: 69.75 kB / 1.181 GB, free: 41.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/2.553, allocations: 0.9688 kB / 1.181 GB, free: 41.27 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001621/2.555, allocations: 1.117 MB / 1.182 GB, free: 41.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/2.555, allocations: 17.59 kB / 1.182 GB, free: 41.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/2.555, allocations: 20.91 kB / 1.182 GB, free: 41.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008838/2.556, allocations: 284.2 kB / 1.182 GB, free: 41.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002436/2.556, allocations: 0.6181 MB / 1.183 GB, free: 40.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/2.557, allocations: 157.6 kB / 1.183 GB, free: 40.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.635e-05/2.557, allocations: 60.27 kB / 1.183 GB, free: 40.58 MB / 0.4948 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.0007103/2.558, allocations: 440.8 kB / 1.183 GB, free: 40.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/2.558, allocations: 138.6 kB / 1.183 GB, free: 40.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002247/2.561, allocations: 1.41 MB / 1.185 GB, free: 40.06 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/2.561, allocations: 13.92 kB / 1.185 GB, free: 40.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/2.561, allocations: 0 / 1.185 GB, free: 40.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/2.561, allocations: 3.891 kB / 1.185 GB, free: 40.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/2.564, allocations: 2.188 MB / 1.187 GB, free: 39.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/2.564, allocations: 0 / 1.187 GB, free: 39.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/2.565, allocations: 270.4 kB / 1.187 GB, free: 39.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/2.566, allocations: 5.469 kB / 1.187 GB, free: 39.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.068e-05/2.566, allocations: 23.64 kB / 1.187 GB, free: 39.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005184/2.566, allocations: 1.231 MB / 1.188 GB, free: 38.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/2.566, allocations: 2.156 kB / 1.188 GB, free: 38.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/2.567, allocations: 1.071 MB / 1.19 GB, free: 38.19 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004159/2.568, allocations: 266.7 kB / 1.19 GB, free: 38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/2.568, allocations: 25.12 kB / 1.19 GB, free: 38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007232/2.569, allocations: 60.2 kB / 1.19 GB, free: 38 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/2.569, allocations: 52.16 kB / 1.19 GB, free: 38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.767e-05/2.569, allocations: 30.14 kB / 1.19 GB, free: 38 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001192/2.57, allocations: 0.9029 MB / 1.191 GB, free: 37.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/2.57, allocations: 3.5 kB / 1.191 GB, free: 37.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005933/2.576, allocations: 1.397 MB / 1.192 GB, free: 37.61 MB / 0.4948 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.005346/2.582, allocations: 2.945 MB / 1.195 GB, free: 36.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00555/2.587, allocations: 1.819 MB / 1.197 GB, free: 36.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/2.587, allocations: 0 / 1.197 GB, free: 36.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003075/2.59, allocations: 0.6659 MB / 1.197 GB, free: 36.19 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/2.593, allocations: 0.5556 MB / 1.198 GB, free: 36.17 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008745/2.602, allocations: 13.41 MB / 1.211 GB, free: 24.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006422/2.603, allocations: 1.206 MB / 1.212 GB, free: 23.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002081/2.605, allocations: 480.2 kB / 1.213 GB, free: 23.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006701/2.606, allocations: 0.5315 MB / 1.213 GB, free: 23.76 MB / 0.4948 GB Notification: Performance of SimCode: time 1.232e-06/2.606, allocations: 0 / 1.213 GB, free: 23.76 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0892/2.695, allocations: 50.59 MB / 1.263 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/2.695, allocations: 266.4 kB / 1.263 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.128/6.823, allocations: 0 / 1.263 GB, free: 12.03 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat does not exist to compare? outputFormat=mat