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.001213/0.001213, allocations: 183.5 kB / 13.19 MB, free: 2.129 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.444/1.444, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.001092/0.001092, allocations: 99.7 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3622/0.3622, allocations: 43.48 MB / 358.6 MB, free: 51.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.039e-05/4.054e-05, allocations: 4 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1272, allocations: 58.84 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9103/1.037, allocations: 335.5 MB / 0.8005 GB, free: 73.25 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/1.038, allocations: 87.06 kB / 0.8006 GB, free: 73.21 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.32/2.358, allocations: 336.2 MB / 1.129 GB, free: 63.07 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.104e-06/2.358, allocations: 0 / 1.129 GB, free: 63.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002162/2.358, allocations: 41.83 kB / 1.129 GB, free: 63.06 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.006542/2.365, allocations: 1.778 MB / 1.131 GB, free: 62.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/2.365, allocations: 12.55 kB / 1.131 GB, free: 62.16 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000578/2.365, allocations: 158.9 kB / 1.131 GB, free: 62.12 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/2.367, allocations: 181 kB / 1.131 GB, free: 62.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002803/2.369, allocations: 1.071 MB / 1.132 GB, free: 61.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.252e-05/2.369, allocations: 74.36 kB / 1.132 GB, free: 61.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/2.37, allocations: 94.56 kB / 1.132 GB, free: 61.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/2.372, allocations: 1.464 MB / 1.134 GB, free: 61.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/2.372, allocations: 6.312 kB / 1.134 GB, free: 61.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/2.372, allocations: 42.19 kB / 1.134 GB, free: 61.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.319e-05/2.372, allocations: 55.81 kB / 1.134 GB, free: 61.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/2.374, allocations: 1.316 MB / 1.135 GB, free: 61.39 MB / 0.4948 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.008187/2.382, allocations: 6.633 MB / 1.142 GB, free: 57.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008281/2.383, allocations: 0.5308 MB / 1.142 GB, free: 57.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004577/2.383, allocations: 336.6 kB / 1.142 GB, free: 57.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01839/2.402, allocations: 17.13 MB / 1.159 GB, free: 41.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007114/2.403, allocations: 479 kB / 1.16 GB, free: 40.94 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 2.655e-06/2.403, allocations: 1.875 kB / 1.16 GB, free: 40.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.001788/2.404, allocations: 0.6991 MB / 1.16 GB, free: 40.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/2.405, allocations: 0.5412 MB / 1.161 GB, free: 40.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/2.407, allocations: 1.141 MB / 1.162 GB, free: 39.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000128/2.407, allocations: 37.52 kB / 1.162 GB, free: 39.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007528/2.408, allocations: 0.704 MB / 1.163 GB, free: 39.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/2.408, allocations: 176.6 kB / 1.163 GB, free: 39.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.381e-05/2.408, allocations: 22.72 kB / 1.163 GB, free: 39.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.979e-05/2.408, allocations: 347.2 kB / 1.163 GB, free: 39.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006208/2.409, allocations: 318.5 kB / 1.163 GB, free: 39.21 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009595/2.41, allocations: 0.8657 MB / 1.164 GB, free: 38.56 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000837/2.411, allocations: 489.1 kB / 1.165 GB, free: 38.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.985e-05/2.411, allocations: 7.125 kB / 1.165 GB, free: 38.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00251/2.413, allocations: 1.285 MB / 1.166 GB, free: 38.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001442/2.415, allocations: 5.578 MB / 1.172 GB, free: 32.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-05/2.415, allocations: 15.77 kB / 1.172 GB, free: 32.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.575e-05/2.415, allocations: 21.12 kB / 1.172 GB, free: 32.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002221/2.417, allocations: 394.4 kB / 1.172 GB, free: 32.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006706/2.418, allocations: 1.268 MB / 1.173 GB, free: 31.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/2.42, allocations: 188.6 kB / 1.173 GB, free: 31.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/2.42, allocations: 71.95 kB / 1.173 GB, free: 31.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/2.42, allocations: 3.688 kB / 1.173 GB, free: 31.36 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001969/2.422, allocations: 1.095 MB / 1.174 GB, free: 31.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.701e-05/2.422, allocations: 15.72 kB / 1.174 GB, free: 31.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/2.422, allocations: 21.09 kB / 1.175 GB, free: 31.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009733/2.423, allocations: 284 kB / 1.175 GB, free: 31.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000271/2.423, allocations: 0.6242 MB / 1.175 GB, free: 30.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/2.425, allocations: 151.3 kB / 1.176 GB, free: 30.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/2.425, allocations: 66.64 kB / 1.176 GB, free: 30.66 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 () * 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.0003914/2.425, allocations: 216.3 kB / 1.176 GB, free: 30.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003774/2.426, allocations: 135.7 kB / 1.176 GB, free: 30.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/2.428, allocations: 1.399 MB / 1.177 GB, free: 30.22 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/2.428, allocations: 7.688 kB / 1.177 GB, free: 30.22 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/2.428, allocations: 3.891 kB / 1.177 GB, free: 30.22 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/2.428, allocations: 7.172 kB / 1.177 GB, free: 30.22 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003625/2.432, allocations: 2.182 MB / 1.179 GB, free: 29.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/2.432, allocations: 0 / 1.179 GB, free: 29.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/2.434, allocations: 266.6 kB / 1.18 GB, free: 29.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.618e-05/2.434, allocations: 3.938 kB / 1.18 GB, free: 29.81 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.764e-05/2.434, allocations: 25.45 kB / 1.18 GB, free: 29.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004625/2.434, allocations: 1.231 MB / 1.181 GB, free: 28.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/2.434, allocations: 3.844 kB / 1.181 GB, free: 28.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/2.436, allocations: 1.053 MB / 1.182 GB, free: 28.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00081/2.437, allocations: 268.4 kB / 1.182 GB, free: 28.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005285/2.437, allocations: 22.47 kB / 1.182 GB, free: 28.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/2.438, allocations: 58.97 kB / 1.182 GB, free: 28.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.992e-05/2.438, allocations: 50.62 kB / 1.182 GB, free: 28.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.82e-05/2.439, allocations: 33.3 kB / 1.182 GB, free: 28.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001489/2.44, allocations: 0.8863 MB / 1.183 GB, free: 28.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.11e-07/2.44, allocations: 0 / 1.183 GB, free: 28.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005409/2.445, allocations: 1.407 MB / 1.185 GB, free: 27.74 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) * 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.006825/2.452, allocations: 2.929 MB / 1.187 GB, free: 42.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005104/2.457, allocations: 1.83 MB / 1.189 GB, free: 42.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/2.458, allocations: 3.938 kB / 1.189 GB, free: 42.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00295/2.46, allocations: 0.6647 MB / 1.19 GB, free: 42.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003384/2.464, allocations: 0.5553 MB / 1.19 GB, free: 42.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006289/2.47, allocations: 2.234 MB / 1.193 GB, free: 41.44 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008449/2.471, allocations: 1.211 MB / 1.194 GB, free: 40.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002582/2.474, allocations: 0.5575 MB / 1.194 GB, free: 40.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006777/2.474, allocations: 0.5162 MB / 1.195 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of SimCode: time 9.22e-07/2.474, allocations: 0 / 1.195 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08851/2.563, allocations: 53.43 MB / 1.247 GB, free: 16.44 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/2.563, allocations: 237 kB / 1.247 GB, free: 16.12 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.031/6.594, allocations: 0 / 1.247 GB, free: 16.12 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