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.002594/0.002594, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.593/1.593, allocations: 227.2 MB / 245 MB, free: 7.676 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009843/0.0009839, allocations: 107.2 kB / 297.3 MB, free: 6.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3974/0.3974, allocations: 45.23 MB / 394.6 MB, free: 31.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002918/0.0002918, allocations: 8 kB / 468.5 MB, free: 7.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4811/0.4814, allocations: 63.25 MB / 0.5193 GB, free: 43.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7443/1.226, allocations: 337.1 MB / 0.8485 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/1.226, allocations: 90.41 kB / 0.8486 GB, free: 12.52 MB / 0.4948 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 1.637/2.864, allocations: 341.1 MB / 1.182 GB, free: 78.69 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.248e-06/2.864, allocations: 0 / 1.182 GB, free: 78.69 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003472/2.864, allocations: 37.42 kB / 1.182 GB, free: 78.68 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.009967/2.874, allocations: 1.974 MB / 1.184 GB, free: 77.61 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.913e-05/2.874, allocations: 10.47 kB / 1.184 GB, free: 77.61 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000993/2.875, allocations: 158.4 kB / 1.184 GB, free: 77.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/2.876, allocations: 180.1 kB / 1.184 GB, free: 77.49 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003693/2.88, allocations: 1.069 MB / 1.185 GB, free: 77.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/2.88, allocations: 74.36 kB / 1.185 GB, free: 77.16 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003994/2.881, allocations: 95.5 kB / 1.185 GB, free: 77.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003352/2.884, allocations: 1.477 MB / 1.187 GB, free: 76.85 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.734e-05/2.884, allocations: 0 / 1.187 GB, free: 76.85 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002658/2.884, allocations: 51.94 kB / 1.187 GB, free: 76.85 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.351e-05/2.885, allocations: 56.23 kB / 1.187 GB, free: 76.85 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/2.887, allocations: 1.335 MB / 1.188 GB, free: 76.84 MB / 0.5261 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.01038/2.897, allocations: 6.562 MB / 1.194 GB, free: 73.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/2.898, allocations: 0.5341 MB / 1.195 GB, free: 73.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0225/2.921, allocations: 16.93 MB / 1.212 GB, free: 56.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009769/2.922, allocations: 479.5 kB / 1.212 GB, free: 56.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 3.356e-06/2.922, allocations: 2.219 kB / 1.212 GB, free: 56.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.002559/2.925, allocations: 0.999 MB / 1.213 GB, free: 56.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002606/2.925, allocations: 0.537 MB / 1.213 GB, free: 55.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002987/2.928, allocations: 1.153 MB / 1.215 GB, free: 55.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001539/2.928, allocations: 36.89 kB / 1.215 GB, free: 55.31 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000949/2.929, allocations: 0.7128 MB / 1.215 GB, free: 55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002625/2.929, allocations: 177.2 kB / 1.216 GB, free: 54.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.987e-05/2.929, allocations: 19.16 kB / 1.216 GB, free: 54.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001381/2.93, allocations: 349.5 kB / 1.216 GB, free: 54.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006465/2.93, allocations: 329.1 kB / 1.216 GB, free: 54.59 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/2.931, allocations: 0.8632 MB / 1.217 GB, free: 53.94 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008405/2.932, allocations: 0.4885 MB / 1.217 GB, free: 53.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.715e-05/2.932, allocations: 6.219 kB / 1.217 GB, free: 53.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002654/2.935, allocations: 1.295 MB / 1.219 GB, free: 53.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001893/2.937, allocations: 5.576 MB / 1.224 GB, free: 47.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.774e-05/2.937, allocations: 14.69 kB / 1.224 GB, free: 47.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.925e-05/2.937, allocations: 28.98 kB / 1.224 GB, free: 47.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002289/2.939, allocations: 391.1 kB / 1.225 GB, free: 47.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007183/2.94, allocations: 1.275 MB / 1.226 GB, free: 46.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/2.942, allocations: 186.7 kB / 1.226 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001858/2.942, allocations: 67.25 kB / 1.226 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/2.942, allocations: 7.891 kB / 1.226 GB, free: 46.11 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001983/2.944, allocations: 1.12 MB / 1.227 GB, free: 45.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-05/2.944, allocations: 13.38 kB / 1.227 GB, free: 45.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/2.944, allocations: 23.41 kB / 1.227 GB, free: 45.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009592/2.945, allocations: 281.8 kB / 1.228 GB, free: 45.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002989/2.945, allocations: 0.6236 MB / 1.228 GB, free: 45.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/2.947, allocations: 155.5 kB / 1.228 GB, free: 44.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/2.947, allocations: 65.94 kB / 1.228 GB, free: 44.95 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 () * 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.0009351/2.948, allocations: 433.8 kB / 1.229 GB, free: 44.62 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004119/2.948, allocations: 137.6 kB / 1.229 GB, free: 44.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00273/2.951, allocations: 1.389 MB / 1.23 GB, free: 44.03 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/2.951, allocations: 9.281 kB / 1.23 GB, free: 44.03 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/2.951, allocations: 3.406 kB / 1.23 GB, free: 44.03 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/2.951, allocations: 3.797 kB / 1.23 GB, free: 44.03 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004073/2.955, allocations: 2.17 MB / 1.232 GB, free: 43.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/2.955, allocations: 2.312 kB / 1.232 GB, free: 43.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001889/2.957, allocations: 264.1 kB / 1.233 GB, free: 43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.578e-05/2.957, allocations: 3.875 kB / 1.233 GB, free: 43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.975e-05/2.957, allocations: 26.83 kB / 1.233 GB, free: 43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000492/2.958, allocations: 1.236 MB / 1.234 GB, free: 41.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/2.958, allocations: 0 / 1.234 GB, free: 41.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/2.959, allocations: 1.066 MB / 1.235 GB, free: 41.24 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006658/2.96, allocations: 270.1 kB / 1.235 GB, free: 41.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004266/2.961, allocations: 18.28 kB / 1.235 GB, free: 41.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/2.962, allocations: 55.73 kB / 1.235 GB, free: 41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/2.962, allocations: 55.67 kB / 1.235 GB, free: 41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.827e-05/2.962, allocations: 32.58 kB / 1.235 GB, free: 40.99 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001365/2.963, allocations: 0.9023 MB / 1.236 GB, free: 40.63 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.553e-06/2.963, allocations: 0 / 1.236 GB, free: 40.63 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005153/2.968, allocations: 1.408 MB / 1.238 GB, free: 40.25 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) * 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.006686/2.975, allocations: 2.922 MB / 1.24 GB, free: 38.76 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005099/2.98, allocations: 1.808 MB / 1.242 GB, free: 38.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/2.98, allocations: 4.125 kB / 1.242 GB, free: 38.11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0028/2.983, allocations: 0.6749 MB / 1.243 GB, free: 37.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00347/2.986, allocations: 0.5541 MB / 1.243 GB, free: 37.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/2.999, allocations: 13.42 MB / 1.256 GB, free: 25.63 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/3, allocations: 1.212 MB / 1.258 GB, free: 24.89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00254/3.003, allocations: 482.7 kB / 1.258 GB, free: 24.77 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009234/3.004, allocations: 0.5335 MB / 1.259 GB, free: 24.4 MB / 0.5261 GB Notification: Performance of SimCode: time 2.956e-06/3.004, allocations: 0 / 1.259 GB, free: 24.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09349/3.097, allocations: 49.69 MB / 1.307 GB, free: 1.699 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002532/3.097, allocations: 256.9 kB / 1.307 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.88/7.978, allocations: 0 / 1.307 GB, free: 1.344 MB / 0.5417 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