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.001024/0.001024, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.000913/0.000913, allocations: 88.98 kB / 281.6 MB, free: 5.328 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.1846/0.1846, allocations: 44.14 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.905e-05/1.916e-05, allocations: 12.16 kB / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1257, allocations: 61.91 MB / 0.4948 GB, free: 1.176 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9431/1.069, allocations: 335.4 MB / 0.8223 GB, free: 53.61 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/1.069, allocations: 87.97 kB / 0.8224 GB, free: 53.57 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.346/2.415, allocations: 334.5 MB / 1.149 GB, free: 79.32 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.723e-06/2.415, allocations: 0 / 1.149 GB, free: 79.32 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.977e-05/2.416, allocations: 35.94 kB / 1.149 GB, free: 79.32 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.004663/2.42, allocations: 1.788 MB / 1.151 GB, free: 78.41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/2.42, allocations: 18.3 kB / 1.151 GB, free: 78.41 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008358/2.421, allocations: 183.4 kB / 1.151 GB, free: 78.33 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/2.423, allocations: 1.051 MB / 1.152 GB, free: 78 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.425e-05/2.423, allocations: 32.56 kB / 1.152 GB, free: 78 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/2.424, allocations: 59.42 kB / 1.152 GB, free: 78 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001716/2.425, allocations: 1.203 MB / 1.153 GB, free: 78 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/2.427, allocations: 1.302 MB / 1.155 GB, free: 77.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/2.427, allocations: 3.938 kB / 1.155 GB, free: 77.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/2.427, allocations: 11.67 kB / 1.155 GB, free: 77.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.798e-05/2.427, allocations: 53.55 kB / 1.155 GB, free: 77.7 MB / 0.5105 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.008608/2.436, allocations: 6.346 MB / 1.161 GB, free: 74.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006786/2.437, allocations: 0.5138 MB / 1.161 GB, free: 74.08 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003961/2.437, allocations: 323.8 kB / 1.162 GB, free: 74.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0173/2.454, allocations: 17 MB / 1.178 GB, free: 57.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000587/2.455, allocations: 455.7 kB / 1.179 GB, free: 57.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=49): time 4.048e-06/2.455, allocations: 6.047 kB / 1.179 GB, free: 57.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49): time 0.00582/2.461, allocations: 1.246 MB / 1.18 GB, free: 57.24 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/2.461, allocations: 0.5437 MB / 1.18 GB, free: 56.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/2.462, allocations: 0.8937 MB / 1.181 GB, free: 56.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/2.462, allocations: 32.38 kB / 1.181 GB, free: 56.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004755/2.463, allocations: 0.7312 MB / 1.182 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/2.463, allocations: 164.3 kB / 1.182 GB, free: 55.92 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/2.463, allocations: 0 / 1.182 GB, free: 55.92 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.591e-05/2.463, allocations: 352.3 kB / 1.183 GB, free: 55.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004075/2.463, allocations: 311.1 kB / 1.183 GB, free: 55.61 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006453/2.464, allocations: 0.832 MB / 1.184 GB, free: 54.96 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005529/2.47, allocations: 1.141 MB / 1.185 GB, free: 54.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.059e-05/2.47, allocations: 3.312 kB / 1.185 GB, free: 54.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.007069/2.477, allocations: 1.847 MB / 1.187 GB, free: 54.85 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001212/2.478, allocations: 5.534 MB / 1.192 GB, free: 49.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/2.478, allocations: 17.75 kB / 1.192 GB, free: 49.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.778e-05/2.478, allocations: 19.56 kB / 1.192 GB, free: 49.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/2.48, allocations: 391.7 kB / 1.192 GB, free: 49.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/2.481, allocations: 1.369 MB / 1.194 GB, free: 47.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/2.483, allocations: 138.6 kB / 1.194 GB, free: 47.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/2.483, allocations: 68.95 kB / 1.194 GB, free: 47.85 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/2.483, allocations: 5.094 kB / 1.194 GB, free: 47.85 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004536/2.488, allocations: 1.443 MB / 1.195 GB, free: 47.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/2.488, allocations: 14.16 kB / 1.195 GB, free: 47.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/2.488, allocations: 26.25 kB / 1.195 GB, free: 47.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008812/2.489, allocations: 280.6 kB / 1.196 GB, free: 47.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003435/2.489, allocations: 0.6443 MB / 1.196 GB, free: 47.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/2.49, allocations: 109.9 kB / 1.196 GB, free: 47.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/2.49, allocations: 63.83 kB / 1.196 GB, free: 47.2 MB / 0.5105 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.0003748/2.491, allocations: 181.5 kB / 1.197 GB, free: 47.06 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005783/2.497, allocations: 1.26 MB / 1.198 GB, free: 46.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/2.497, allocations: 121.8 kB / 1.198 GB, free: 46.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00469/2.501, allocations: 1.626 MB / 1.2 GB, free: 46.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/2.502, allocations: 7.812 kB / 1.2 GB, free: 46.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/2.502, allocations: 5.828 kB / 1.2 GB, free: 46.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/2.502, allocations: 3.656 kB / 1.2 GB, free: 46.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005485/2.507, allocations: 2.312 MB / 1.202 GB, free: 46.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/2.507, allocations: 3.953 kB / 1.202 GB, free: 46.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/2.509, allocations: 262.6 kB / 1.202 GB, free: 46.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/2.509, allocations: 6.5 kB / 1.202 GB, free: 46.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/2.509, allocations: 17.83 kB / 1.202 GB, free: 46.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/2.51, allocations: 1.32 MB / 1.203 GB, free: 45.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/2.51, allocations: 3.938 kB / 1.203 GB, free: 45.26 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003926/2.514, allocations: 1.309 MB / 1.205 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000432/2.514, allocations: 246.6 kB / 1.205 GB, free: 44.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/2.514, allocations: 13.48 kB / 1.205 GB, free: 44.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006842/2.515, allocations: 45.14 kB / 1.205 GB, free: 44.83 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.304e-05/2.515, allocations: 48.94 kB / 1.205 GB, free: 44.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-05/2.515, allocations: 30.56 kB / 1.205 GB, free: 44.83 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008959/2.516, allocations: 0.6857 MB / 1.206 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.6e-07/2.516, allocations: 0 / 1.206 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004439/2.521, allocations: 1.387 MB / 1.207 GB, free: 44.39 MB / 0.5105 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.007234/2.528, allocations: 3.149 MB / 1.21 GB, free: 43.23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00419/2.532, allocations: 1.717 MB / 1.212 GB, free: 43.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/2.532, allocations: 3.938 kB / 1.212 GB, free: 43.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002505/2.535, allocations: 0.6429 MB / 1.212 GB, free: 42.94 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/2.537, allocations: 425.7 kB / 1.213 GB, free: 42.92 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004884/2.542, allocations: 2.13 MB / 1.215 GB, free: 42.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005674/2.542, allocations: 1.206 MB / 1.216 GB, free: 41.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001773/2.544, allocations: 0.4955 MB / 1.217 GB, free: 41.35 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005253/2.545, allocations: 0.4995 MB / 1.217 GB, free: 41.34 MB / 0.5105 GB Notification: Performance of SimCode: time 7.01e-07/2.545, allocations: 0 / 1.217 GB, free: 41.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08224/2.627, allocations: 44.22 MB / 1.26 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/2.627, allocations: 185.3 kB / 1.26 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.625/6.253, allocations: 0 / 1.26 GB, free: 12.27 MB / 0.5105 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