Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002045/0.002045, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.961/1.961, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001111, allocations: 94.97 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3049/0.3049, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.23e-05/2.231e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8042/1.204, allocations: 334.8 MB / 0.793 GB, free: 2.324 MB / 475.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/1.205, allocations: 83.08 kB / 0.7931 GB, free: 2.281 MB / 475.1 MB [/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.814/3.018, allocations: 330.2 MB / 1.116 GB, free: 87.97 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.854e-06/3.018, allocations: 0 / 1.116 GB, free: 87.97 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 0.0001459/3.019, allocations: 37.62 kB / 1.116 GB, free: 87.96 MB / 0.4952 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.005703/3.024, allocations: 1.79 MB / 1.117 GB, free: 86.97 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/3.024, allocations: 13.22 kB / 1.117 GB, free: 86.97 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/3.026, allocations: 178 kB / 1.118 GB, free: 86.89 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003499/3.029, allocations: 1.075 MB / 1.119 GB, free: 86.56 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.38e-05/3.029, allocations: 32.81 kB / 1.119 GB, free: 86.56 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/3.029, allocations: 57.67 kB / 1.119 GB, free: 86.55 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002775/3.032, allocations: 1.202 MB / 1.12 GB, free: 86.55 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002818/3.035, allocations: 1.297 MB / 1.121 GB, free: 86.19 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.786e-05/3.035, allocations: 3.938 kB / 1.121 GB, free: 86.19 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/3.035, allocations: 7.062 kB / 1.121 GB, free: 86.19 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.621e-05/3.035, allocations: 53.38 kB / 1.121 GB, free: 86.18 MB / 0.4952 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.01166/3.047, allocations: 6.411 MB / 1.127 GB, free: 81.48 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/3.048, allocations: 0.5147 MB / 1.128 GB, free: 81.26 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006457/3.049, allocations: 325.4 kB / 1.128 GB, free: 81.12 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02849/3.077, allocations: 17.07 MB / 1.145 GB, free: 64.11 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008186/3.078, allocations: 459.5 kB / 1.145 GB, free: 63.83 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=49): time 2.965e-06/3.078, allocations: 0 / 1.145 GB, free: 63.83 MB / 0.4952 GB Notification: Performance of matching and sorting (n=49): time 0.009449/3.088, allocations: 1.242 MB / 1.147 GB, free: 63.52 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/3.088, allocations: 0.5386 MB / 1.147 GB, free: 62.86 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/3.09, allocations: 0.9001 MB / 1.148 GB, free: 62.45 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0001652/3.09, allocations: 31.77 kB / 1.148 GB, free: 62.41 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.000559/3.09, allocations: 0.7261 MB / 1.149 GB, free: 61.79 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/3.091, allocations: 166.7 kB / 1.149 GB, free: 61.66 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.598e-05/3.091, allocations: 6.844 kB / 1.149 GB, free: 61.66 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0001007/3.091, allocations: 351.3 kB / 1.149 GB, free: 61.33 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007543/3.092, allocations: 302.4 kB / 1.15 GB, free: 61.21 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/3.093, allocations: 0.8384 MB / 1.15 GB, free: 60.4 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01292/3.106, allocations: 1.463 MB / 1.152 GB, free: 60.14 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.496e-05/3.106, allocations: 7.625 kB / 1.152 GB, free: 60.14 MB / 0.4952 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.01498/3.121, allocations: 2.09 MB / 1.154 GB, free: 59.66 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.001218/3.122, allocations: 5.535 MB / 1.159 GB, free: 53.78 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.752e-05/3.122, allocations: 13.44 kB / 1.159 GB, free: 53.78 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.516e-05/3.122, allocations: 20.78 kB / 1.159 GB, free: 53.78 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00381/3.126, allocations: 395.1 kB / 1.16 GB, free: 53.75 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/3.128, allocations: 1.371 MB / 1.161 GB, free: 52.51 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002505/3.13, allocations: 140.2 kB / 1.161 GB, free: 52.44 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/3.131, allocations: 64.77 kB / 1.161 GB, free: 52.43 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/3.131, allocations: 4.625 kB / 1.161 GB, free: 52.43 MB / 0.4952 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0114/3.142, allocations: 1.757 MB / 1.163 GB, free: 52.02 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.97e-05/3.142, allocations: 19.38 kB / 1.163 GB, free: 52.01 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-05/3.142, allocations: 27.17 kB / 1.163 GB, free: 52.01 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/3.144, allocations: 278.7 kB / 1.163 GB, free: 51.98 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005028/3.145, allocations: 0.6399 MB / 1.164 GB, free: 51.37 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/3.146, allocations: 106.1 kB / 1.164 GB, free: 51.32 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002557/3.147, allocations: 66.94 kB / 1.164 GB, free: 51.3 MB / 0.4952 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.000505/3.147, allocations: 188.3 kB / 1.164 GB, free: 51.12 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009477/3.157, allocations: 1.254 MB / 1.165 GB, free: 50.55 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003168/3.157, allocations: 119.2 kB / 1.165 GB, free: 50.49 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007874/3.165, allocations: 1.659 MB / 1.167 GB, free: 49 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/3.165, allocations: 11.94 kB / 1.167 GB, free: 48.99 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/3.165, allocations: 4 kB / 1.167 GB, free: 48.99 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/3.165, allocations: 3.984 kB / 1.167 GB, free: 48.98 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/3.177, allocations: 2.332 MB / 1.169 GB, free: 46.62 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/3.177, allocations: 0 / 1.169 GB, free: 46.62 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004832/3.182, allocations: 259.8 kB / 1.17 GB, free: 46.37 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.09e-05/3.182, allocations: 4 kB / 1.17 GB, free: 46.37 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002189/3.183, allocations: 15.98 kB / 1.17 GB, free: 46.35 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002821/3.186, allocations: 1.324 MB / 1.171 GB, free: 44.98 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/3.186, allocations: 3.984 kB / 1.171 GB, free: 44.98 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/3.197, allocations: 1.314 MB / 1.172 GB, free: 43.64 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009244/3.198, allocations: 259 kB / 1.172 GB, free: 43.38 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008703/3.199, allocations: 4 kB / 1.173 GB, free: 43.37 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0023/3.201, allocations: 43.95 kB / 1.173 GB, free: 43.33 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/3.201, allocations: 52.7 kB / 1.173 GB, free: 43.28 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/3.201, allocations: 31.98 kB / 1.173 GB, free: 43.25 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.001857/3.203, allocations: 0.6864 MB / 1.173 GB, free: 42.55 MB / 0.4952 GB Notification: Performance of sort global known variables: time 1.312e-06/3.203, allocations: 0 / 1.173 GB, free: 42.55 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.007244/3.211, allocations: 1.384 MB / 1.175 GB, free: 41.17 MB / 0.4952 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.01216/3.223, allocations: 3.182 MB / 1.178 GB, free: 38.07 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.006952/3.23, allocations: 1.683 MB / 1.179 GB, free: 36.37 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/3.23, allocations: 8.062 kB / 1.179 GB, free: 36.36 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.004648/3.235, allocations: 0.6387 MB / 1.18 GB, free: 35.71 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00365/3.238, allocations: 428.8 kB / 1.18 GB, free: 35.3 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007077/3.245, allocations: 2.153 MB / 1.183 GB, free: 33.09 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007127/3.246, allocations: 1.198 MB / 1.184 GB, free: 31.86 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/3.247, allocations: 0.5227 MB / 1.184 GB, free: 31.34 MB / 0.4952 GB Notification: Performance of SimCode: time 1.082e-06/3.247, allocations: 0 / 1.184 GB, free: 31.34 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.787/7.034, allocations: 46.53 MB / 1.23 GB, free: 1.246 MB / 0.5108 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat does not exist to compare? outputFormat=mat