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.001588/0.001588, allocations: 177.6 kB / 8.002 MB, free: 1.07 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.688/1.688, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008956/0.0008954, allocations: 87.98 kB / 261.8 MB, free: 1.688 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.205/0.205, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.765e-05/1.779e-05, allocations: 4 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1191, allocations: 58.86 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9038/1.023, allocations: 334.8 MB / 0.793 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/1.023, allocations: 90.78 kB / 0.7931 GB, free: 100.1 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.29/2.313, allocations: 330.2 MB / 1.116 GB, free: 66.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.583e-06/2.313, allocations: 0 / 1.116 GB, free: 66.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001155/2.313, allocations: 38.41 kB / 1.116 GB, free: 66.45 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.005102/2.319, allocations: 1.79 MB / 1.117 GB, free: 65.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/2.319, allocations: 9.969 kB / 1.117 GB, free: 65.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009426/2.32, allocations: 175.9 kB / 1.118 GB, free: 65.67 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002218/2.322, allocations: 1.084 MB / 1.119 GB, free: 65.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.342e-05/2.322, allocations: 30.91 kB / 1.119 GB, free: 65.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/2.322, allocations: 56.41 kB / 1.119 GB, free: 65.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001738/2.324, allocations: 1.196 MB / 1.12 GB, free: 65.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/2.325, allocations: 1.304 MB / 1.121 GB, free: 65.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/2.326, allocations: 0 / 1.121 GB, free: 65.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/2.326, allocations: 6.219 kB / 1.121 GB, free: 65.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.373e-05/2.326, allocations: 57.91 kB / 1.121 GB, free: 65.09 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.007274/2.333, allocations: 6.417 MB / 1.127 GB, free: 61.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000662/2.334, allocations: 0.5167 MB / 1.128 GB, free: 61.52 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003959/2.334, allocations: 322.6 kB / 1.128 GB, free: 61.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01951/2.354, allocations: 17.08 MB / 1.145 GB, free: 44.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005654/2.354, allocations: 455 kB / 1.145 GB, free: 44.81 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 1.934e-06/2.354, allocations: 0 / 1.145 GB, free: 44.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.006046/2.36, allocations: 1.244 MB / 1.147 GB, free: 44.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/2.361, allocations: 0.5409 MB / 1.147 GB, free: 44.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/2.362, allocations: 0.8992 MB / 1.148 GB, free: 43.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.833e-05/2.362, allocations: 29.55 kB / 1.148 GB, free: 43.87 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006138/2.363, allocations: 0.7256 MB / 1.149 GB, free: 43.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000164/2.363, allocations: 170 kB / 1.149 GB, free: 43.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/2.363, allocations: 0 / 1.149 GB, free: 43.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001026/2.363, allocations: 351 kB / 1.149 GB, free: 43.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000426/2.363, allocations: 306.2 kB / 1.15 GB, free: 43.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007845/2.364, allocations: 0.8329 MB / 1.15 GB, free: 42.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007554/2.372, allocations: 1.461 MB / 1.152 GB, free: 42.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.588e-05/2.372, allocations: 5.469 kB / 1.152 GB, free: 42.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.009302/2.381, allocations: 2.162 MB / 1.154 GB, free: 42.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001223/2.382, allocations: 5.535 MB / 1.159 GB, free: 36.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/2.382, allocations: 15.38 kB / 1.159 GB, free: 36.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.742e-05/2.382, allocations: 22.75 kB / 1.159 GB, free: 36.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/2.384, allocations: 383.4 kB / 1.16 GB, free: 36.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/2.386, allocations: 1.37 MB / 1.161 GB, free: 35.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/2.387, allocations: 145.9 kB / 1.161 GB, free: 35.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/2.387, allocations: 71.53 kB / 1.161 GB, free: 35.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/2.387, allocations: 3.938 kB / 1.161 GB, free: 35.45 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006429/2.394, allocations: 1.757 MB / 1.163 GB, free: 35.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/2.394, allocations: 15.31 kB / 1.163 GB, free: 35.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/2.394, allocations: 23.03 kB / 1.163 GB, free: 35.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009157/2.395, allocations: 279.2 kB / 1.163 GB, free: 35.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003306/2.395, allocations: 0.6443 MB / 1.164 GB, free: 34.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/2.396, allocations: 109.6 kB / 1.164 GB, free: 34.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/2.397, allocations: 61.91 kB / 1.164 GB, free: 34.8 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.0003611/2.397, allocations: 185.8 kB / 1.164 GB, free: 34.66 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005669/2.403, allocations: 1.257 MB / 1.165 GB, free: 34.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/2.403, allocations: 124.4 kB / 1.166 GB, free: 34.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004583/2.407, allocations: 1.664 MB / 1.167 GB, free: 34.31 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/2.407, allocations: 10.53 kB / 1.167 GB, free: 34.31 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/2.407, allocations: 0 / 1.167 GB, free: 34.31 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/2.407, allocations: 3.188 kB / 1.167 GB, free: 34.31 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005456/2.413, allocations: 2.331 MB / 1.17 GB, free: 33.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/2.413, allocations: 0 / 1.17 GB, free: 33.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/2.415, allocations: 262.3 kB / 1.17 GB, free: 33.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/2.415, allocations: 2.875 kB / 1.17 GB, free: 33.99 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/2.415, allocations: 17.62 kB / 1.17 GB, free: 33.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/2.416, allocations: 1.321 MB / 1.171 GB, free: 32.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/2.416, allocations: 0 / 1.171 GB, free: 32.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003934/2.42, allocations: 1.307 MB / 1.172 GB, free: 32.58 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005947/2.42, allocations: 253.8 kB / 1.173 GB, free: 32.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003611/2.421, allocations: 3.969 kB / 1.173 GB, free: 32.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008307/2.421, allocations: 49.39 kB / 1.173 GB, free: 32.39 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/2.422, allocations: 53.81 kB / 1.173 GB, free: 32.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.53e-05/2.422, allocations: 35.38 kB / 1.173 GB, free: 32.39 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009243/2.423, allocations: 0.6859 MB / 1.173 GB, free: 32.28 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/2.423, allocations: 0 / 1.173 GB, free: 32.28 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004568/2.427, allocations: 1.388 MB / 1.175 GB, free: 31.96 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.008399/2.436, allocations: 3.178 MB / 1.178 GB, free: 30.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004917/2.441, allocations: 1.719 MB / 1.18 GB, free: 30.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/2.441, allocations: 3.188 kB / 1.18 GB, free: 30.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002759/2.443, allocations: 0.6462 MB / 1.18 GB, free: 30.61 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/2.446, allocations: 416.5 kB / 1.181 GB, free: 30.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006322/2.452, allocations: 2.129 MB / 1.183 GB, free: 29.86 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007134/2.453, allocations: 1.21 MB / 1.184 GB, free: 29.14 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002342/2.455, allocations: 0.5052 MB / 1.184 GB, free: 29.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006945/2.456, allocations: 0.5028 MB / 1.185 GB, free: 29.08 MB / 0.4948 GB Notification: Performance of SimCode: time 8.51e-07/2.456, allocations: 0.6562 kB / 1.185 GB, free: 29.08 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08964/2.546, allocations: 44.97 MB / 1.229 GB, free: 26.16 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/2.546, allocations: 182.6 kB / 1.229 GB, free: 25.97 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.259/6.805, allocations: 3.844 kB / 1.229 GB, free: 25.97 MB / 0.4948 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