Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001115/0.001115, allocations: 198.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008876/0.0008876, allocations: 88.61 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2125/0.2125, allocations: 45.14 MB / 383.7 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.504e-05/1.507e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1162, allocations: 63.26 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9254/1.042, allocations: 336.4 MB / 0.833 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/1.042, allocations: 90.11 kB / 0.8331 GB, free: 136.4 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 0.938/1.98, allocations: 333.8 MB / 1.159 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.014e-06/1.98, allocations: 0 / 1.159 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001104/1.98, allocations: 39.92 kB / 1.159 GB, free: 11.59 MB / 0.5261 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.004325/1.984, allocations: 1.79 MB / 1.161 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/1.984, allocations: 8.031 kB / 1.161 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007075/1.985, allocations: 182 kB / 1.161 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/1.987, allocations: 1.07 MB / 1.162 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/1.987, allocations: 32 kB / 1.162 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/1.987, allocations: 52 kB / 1.162 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001583/1.989, allocations: 1.203 MB / 1.163 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/1.99, allocations: 1.294 MB / 1.165 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/1.991, allocations: 7.938 kB / 1.165 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/1.991, allocations: 4 kB / 1.165 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.637e-05/1.991, allocations: 53.98 kB / 1.165 GB, free: 5.699 MB / 0.5261 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.3235/2.314, allocations: 6.341 MB / 1.171 GB, free: 67.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000978/2.315, allocations: 0.5083 MB / 1.171 GB, free: 67.63 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004652/2.316, allocations: 327 kB / 1.172 GB, free: 67.62 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.018/2.334, allocations: 17 MB / 1.188 GB, free: 51.13 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005199/2.334, allocations: 459.7 kB / 1.189 GB, free: 50.95 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 2.475e-06/2.334, allocations: 0 / 1.189 GB, free: 50.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.005713/2.34, allocations: 1.247 MB / 1.19 GB, free: 50.92 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/2.34, allocations: 0.5423 MB / 1.19 GB, free: 50.26 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/2.341, allocations: 0.8977 MB / 1.191 GB, free: 50.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.505e-05/2.341, allocations: 30.14 kB / 1.191 GB, free: 50.08 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005613/2.342, allocations: 0.7265 MB / 1.192 GB, free: 49.79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/2.342, allocations: 172.3 kB / 1.192 GB, free: 49.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/2.342, allocations: 0 / 1.192 GB, free: 49.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.706e-05/2.342, allocations: 352.9 kB / 1.193 GB, free: 49.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000404/2.343, allocations: 305 kB / 1.193 GB, free: 49.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008036/2.343, allocations: 0.8279 MB / 1.194 GB, free: 48.77 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00641/2.35, allocations: 1.197 MB / 1.195 GB, free: 48.76 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.336e-05/2.35, allocations: 4.156 kB / 1.195 GB, free: 48.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.007982/2.358, allocations: 1.897 MB / 1.197 GB, free: 48.67 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001218/2.359, allocations: 5.526 MB / 1.202 GB, free: 42.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.791e-05/2.359, allocations: 18.52 kB / 1.202 GB, free: 42.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.009e-05/2.359, allocations: 28.52 kB / 1.202 GB, free: 42.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002367/2.362, allocations: 386.5 kB / 1.202 GB, free: 42.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/2.363, allocations: 1.365 MB / 1.204 GB, free: 41.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/2.365, allocations: 143.9 kB / 1.204 GB, free: 41.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002255/2.365, allocations: 73.11 kB / 1.204 GB, free: 41.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/2.365, allocations: 5.156 kB / 1.204 GB, free: 41.7 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007049/2.372, allocations: 1.49 MB / 1.205 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-05/2.373, allocations: 14.41 kB / 1.205 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.323e-05/2.373, allocations: 22.42 kB / 1.205 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/2.374, allocations: 285.7 kB / 1.206 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005516/2.374, allocations: 0.6362 MB / 1.206 GB, free: 41.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/2.376, allocations: 114.4 kB / 1.206 GB, free: 41.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/2.376, allocations: 66.94 kB / 1.207 GB, free: 41.08 MB / 0.5261 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.0004551/2.377, allocations: 189.2 kB / 1.207 GB, free: 40.94 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006399/2.383, allocations: 1.246 MB / 1.208 GB, free: 40.84 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/2.383, allocations: 119.1 kB / 1.208 GB, free: 40.78 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00542/2.389, allocations: 1.628 MB / 1.21 GB, free: 40.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/2.389, allocations: 13.77 kB / 1.21 GB, free: 40.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/2.389, allocations: 0 / 1.21 GB, free: 40.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/2.389, allocations: 5.219 kB / 1.21 GB, free: 40.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006484/2.395, allocations: 2.311 MB / 1.212 GB, free: 40.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/2.395, allocations: 3.812 kB / 1.212 GB, free: 40.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/2.397, allocations: 264.4 kB / 1.212 GB, free: 40.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/2.397, allocations: 4.094 kB / 1.212 GB, free: 40.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.612e-05/2.397, allocations: 17.86 kB / 1.212 GB, free: 40.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/2.398, allocations: 1.326 MB / 1.213 GB, free: 39.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/2.398, allocations: 3.297 kB / 1.213 GB, free: 39.21 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004319/2.403, allocations: 1.31 MB / 1.215 GB, free: 38.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000447/2.403, allocations: 240.6 kB / 1.215 GB, free: 38.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/2.403, allocations: 12.67 kB / 1.215 GB, free: 38.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007456/2.404, allocations: 41.56 kB / 1.215 GB, free: 38.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/2.404, allocations: 48.48 kB / 1.215 GB, free: 38.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.728e-05/2.404, allocations: 32.92 kB / 1.215 GB, free: 38.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001115/2.405, allocations: 0.6885 MB / 1.216 GB, free: 38.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.51e-07/2.405, allocations: 0 / 1.216 GB, free: 38.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004127/2.41, allocations: 1.393 MB / 1.217 GB, free: 38.66 MB / 0.5261 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.007128/2.417, allocations: 3.17 MB / 1.22 GB, free: 37.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004257/2.421, allocations: 1.722 MB / 1.222 GB, free: 37.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/2.421, allocations: 0 / 1.222 GB, free: 37.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002427/2.423, allocations: 0.6496 MB / 1.223 GB, free: 37.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/2.426, allocations: 423.8 kB / 1.223 GB, free: 37.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004318/2.43, allocations: 2.119 MB / 1.225 GB, free: 37.12 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/2.43, allocations: 1.206 MB / 1.226 GB, free: 36.42 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00173/2.432, allocations: 0.4967 MB / 1.227 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005269/2.433, allocations: 0.5031 MB / 1.227 GB, free: 36.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.513e-06/2.433, allocations: 0 / 1.227 GB, free: 36.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07313/2.506, allocations: 44.09 MB / 1.27 GB, free: 34.19 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/2.506, allocations: 189.3 kB / 1.27 GB, free: 33.99 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.722/6.228, allocations: 3.938 kB / 1.27 GB, free: 33.99 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat does not exist to compare? outputFormat=mat