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.001557/0.001557, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001126/0.001125, allocations: 94.14 kB / 270.9 MB, free: 8.383 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.5251/0.5251, allocations: 43.54 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004912, allocations: 8 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1345, allocations: 58.84 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.221/1.355, allocations: 335.6 MB / 0.8065 GB, free: 36.31 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/1.356, allocations: 85.64 kB / 0.8066 GB, free: 36.27 MB / 490.7 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.872/3.228, allocations: 337.4 MB / 1.136 GB, free: 70.84 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.96e-06/3.228, allocations: 0 / 1.136 GB, free: 70.84 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001578/3.228, allocations: 44.52 kB / 1.136 GB, free: 70.83 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.006996/3.235, allocations: 1.968 MB / 1.138 GB, free: 69.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/3.235, allocations: 13.47 kB / 1.138 GB, free: 69.73 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007695/3.236, allocations: 156.7 kB / 1.138 GB, free: 69.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/3.237, allocations: 187.7 kB / 1.138 GB, free: 69.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00391/3.241, allocations: 1.074 MB / 1.139 GB, free: 69.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/3.241, allocations: 77.86 kB / 1.14 GB, free: 69.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003606/3.242, allocations: 97.91 kB / 1.14 GB, free: 69.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003751/3.245, allocations: 1.481 MB / 1.141 GB, free: 68.96 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.78e-05/3.246, allocations: 3.875 kB / 1.141 GB, free: 68.96 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002673/3.246, allocations: 47.12 kB / 1.141 GB, free: 68.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/3.246, allocations: 54.33 kB / 1.141 GB, free: 68.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003402/3.249, allocations: 1.334 MB / 1.142 GB, free: 68.93 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.01343/3.263, allocations: 6.634 MB / 1.149 GB, free: 65.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/3.264, allocations: 0.5431 MB / 1.149 GB, free: 65.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02983/3.294, allocations: 16.97 MB / 1.166 GB, free: 48.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009484/3.295, allocations: 478.7 kB / 1.167 GB, free: 48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 3.767e-06/3.295, allocations: 3.172 kB / 1.167 GB, free: 48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.002865/3.298, allocations: 0.9877 MB / 1.167 GB, free: 47.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001761/3.298, allocations: 0.5412 MB / 1.168 GB, free: 46.87 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002369/3.301, allocations: 1.145 MB / 1.169 GB, free: 46.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002809/3.301, allocations: 45 kB / 1.169 GB, free: 46.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005808/3.302, allocations: 0.6892 MB / 1.17 GB, free: 45.76 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/3.302, allocations: 174.2 kB / 1.17 GB, free: 45.63 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/3.302, allocations: 23.56 kB / 1.17 GB, free: 45.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001054/3.302, allocations: 352.4 kB / 1.17 GB, free: 45.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008804/3.303, allocations: 333.4 kB / 1.171 GB, free: 45.17 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/3.304, allocations: 0.8729 MB / 1.172 GB, free: 44.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/3.306, allocations: 486.1 kB / 1.172 GB, free: 44.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/3.306, allocations: 10.72 kB / 1.172 GB, free: 44.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003506/3.309, allocations: 1.211 MB / 1.173 GB, free: 43.65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001306/3.31, allocations: 5.53 MB / 1.179 GB, free: 37.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-05/3.311, allocations: 14.53 kB / 1.179 GB, free: 37.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.645e-05/3.311, allocations: 28.52 kB / 1.179 GB, free: 37.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00396/3.315, allocations: 391.4 kB / 1.179 GB, free: 37.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008728/3.316, allocations: 1.268 MB / 1.18 GB, free: 36.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002568/3.318, allocations: 187.1 kB / 1.18 GB, free: 36.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004032/3.319, allocations: 69.34 kB / 1.181 GB, free: 36.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/3.319, allocations: 7.891 kB / 1.181 GB, free: 36.41 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003254/3.322, allocations: 1.117 MB / 1.182 GB, free: 35.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.57e-05/3.322, allocations: 15.25 kB / 1.182 GB, free: 35.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/3.322, allocations: 24.92 kB / 1.182 GB, free: 35.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/3.324, allocations: 287.5 kB / 1.182 GB, free: 35.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003601/3.324, allocations: 0.6189 MB / 1.183 GB, free: 35.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/3.326, allocations: 130.7 kB / 1.183 GB, free: 35.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000206/3.326, allocations: 62.8 kB / 1.183 GB, free: 35.27 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.001017/3.327, allocations: 429.5 kB / 1.183 GB, free: 34.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004243/3.328, allocations: 138.9 kB / 1.183 GB, free: 34.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004025/3.332, allocations: 1.414 MB / 1.185 GB, free: 34.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.802e-05/3.332, allocations: 7.531 kB / 1.185 GB, free: 34.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/3.332, allocations: 3.938 kB / 1.185 GB, free: 34.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/3.332, allocations: 7.938 kB / 1.185 GB, free: 34.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005573/3.337, allocations: 2.188 MB / 1.187 GB, free: 33.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.699e-06/3.337, allocations: 0 / 1.187 GB, free: 33.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003286/3.341, allocations: 267.2 kB / 1.187 GB, free: 33.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.037e-05/3.341, allocations: 3.469 kB / 1.187 GB, free: 33.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001942/3.341, allocations: 24.12 kB / 1.187 GB, free: 33.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006654/3.342, allocations: 1.236 MB / 1.188 GB, free: 32.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/3.342, allocations: 0 / 1.188 GB, free: 32.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/3.345, allocations: 1.069 MB / 1.189 GB, free: 31.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008612/3.345, allocations: 266.5 kB / 1.19 GB, free: 31.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006147/3.346, allocations: 26.41 kB / 1.19 GB, free: 31.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/3.348, allocations: 55.06 kB / 1.19 GB, free: 31.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/3.348, allocations: 57.7 kB / 1.19 GB, free: 31.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/3.348, allocations: 30.12 kB / 1.19 GB, free: 31.22 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002091/3.35, allocations: 0.9008 MB / 1.191 GB, free: 30.86 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.12e-07/3.35, allocations: 0 / 1.191 GB, free: 30.86 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006508/3.357, allocations: 1.405 MB / 1.192 GB, free: 30.47 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.008489/3.365, allocations: 2.944 MB / 1.195 GB, free: 28.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008178/3.374, allocations: 1.823 MB / 1.197 GB, free: 28.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/3.374, allocations: 0 / 1.197 GB, free: 28.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005271/3.379, allocations: 0.6715 MB / 1.197 GB, free: 28.05 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005045/3.384, allocations: 0.5455 MB / 1.198 GB, free: 27.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/3.396, allocations: 13.44 MB / 1.211 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001529/3.397, allocations: 1.205 MB / 1.212 GB, free: 31.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/3.399, allocations: 0.5416 MB / 1.213 GB, free: 30.64 MB / 0.5105 GB Notification: Performance of SimCode: time 1.723e-06/3.399, allocations: 0 / 1.213 GB, free: 30.64 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.176/7.575, allocations: 47.69 MB / 1.259 GB, free: 84.39 MB / 0.5105 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