Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, 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.417/1.417, allocations: 227.2 MB / 245 MB, free: 7.668 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009467/0.0009466, allocations: 98.38 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4383/0.4383, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002789/0.0002791, allocations: 8 kB / 468.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4126, allocations: 63.24 MB / 0.5193 GB, free: 43.91 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.5432, allocations: 95.03 MB / 0.6121 GB, free: 10.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.5435, allocations: 95.91 kB / 0.6122 GB, free: 10.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03925/0.5828, allocations: 13.89 MB / 0.6257 GB, free: 12.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5828, allocations: 0 / 0.6257 GB, free: 12.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.202e-05/0.5829, allocations: 4 kB / 0.6257 GB, free: 12.55 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001114/0.584, allocations: 0.5808 MB / 0.6263 GB, free: 11.92 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.584, allocations: 8.031 kB / 0.6263 GB, free: 11.91 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.5842, allocations: 74.47 kB / 0.6264 GB, free: 11.83 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004033/0.5846, allocations: 75.53 kB / 0.6265 GB, free: 11.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.585, allocations: 254.5 kB / 0.6267 GB, free: 11.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.585, allocations: 20.5 kB / 0.6267 GB, free: 11.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/0.5851, allocations: 31.94 kB / 0.6268 GB, free: 11.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008491/0.5859, allocations: 441.9 kB / 0.6272 GB, free: 10.96 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.586, allocations: 4 kB / 0.6272 GB, free: 10.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.586, allocations: 16 kB / 0.6272 GB, free: 10.95 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.681e-05/0.5861, allocations: 12.56 kB / 0.6272 GB, free: 10.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007976/0.5869, allocations: 357.8 kB / 0.6276 GB, free: 10.59 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.5888, allocations: 1.104 MB / 0.6286 GB, free: 9.418 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005297/0.5893, allocations: 251.7 kB / 0.6289 GB, free: 9.145 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/0.5894, allocations: 8 kB / 0.6289 GB, free: 9.137 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.5894, allocations: 38.56 kB / 0.6289 GB, free: 9.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 4.489e-06/0.5894, allocations: 96 / 0.6289 GB, free: 9.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.001252/0.5907, allocations: 0.6212 MB / 0.6295 GB, free: 8.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/0.5908, allocations: 102.9 kB / 0.6296 GB, free: 8.285 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004566/0.5913, allocations: 376.5 kB / 0.63 GB, free: 7.914 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.5913, allocations: 29.7 kB / 0.63 GB, free: 7.879 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.5915, allocations: 187.8 kB / 0.6302 GB, free: 7.691 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.644e-05/0.5915, allocations: 59.31 kB / 0.6302 GB, free: 7.633 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.602e-05/0.5915, allocations: 4 kB / 0.6302 GB, free: 7.629 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.5917, allocations: 342.8 kB / 0.6306 GB, free: 7.285 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.592, allocations: 124.2 kB / 0.6307 GB, free: 7.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.5924, allocations: 246.2 kB / 0.6309 GB, free: 6.867 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.5927, allocations: 167.8 kB / 0.6311 GB, free: 6.703 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.5928, allocations: 4 kB / 0.6311 GB, free: 6.699 MB / 442.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008373/0.5936, allocations: 421.1 kB / 0.6315 GB, free: 6.281 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.5936, allocations: 7.938 kB / 0.6315 GB, free: 6.273 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.466e-05/0.5937, allocations: 23.98 kB / 0.6315 GB, free: 6.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.5937, allocations: 4 kB / 0.6315 GB, free: 6.246 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.594, allocations: 56.02 kB / 0.6316 GB, free: 6.191 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.594, allocations: 11.98 kB / 0.6316 GB, free: 6.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/0.5944, allocations: 59.56 kB / 0.6316 GB, free: 6.121 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.5944, allocations: 19.95 kB / 0.6317 GB, free: 6.102 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002319/0.5947, allocations: 176.2 kB / 0.6318 GB, free: 5.922 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.803e-05/0.5948, allocations: 35.62 kB / 0.6319 GB, free: 5.887 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006715/0.5954, allocations: 292.1 kB / 0.6321 GB, free: 5.594 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.5955, allocations: 11.98 kB / 0.6322 GB, free: 5.582 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.5955, allocations: 0 / 0.6322 GB, free: 5.582 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.5955, allocations: 0 / 0.6322 GB, free: 5.582 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006021/0.5961, allocations: 309.3 kB / 0.6325 GB, free: 5.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.44e-05/0.5962, allocations: 15.98 kB / 0.6325 GB, free: 5.215 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.5963, allocations: 31.97 kB / 0.6325 GB, free: 5.184 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.5963, allocations: 0 / 0.6325 GB, free: 5.184 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.5964, allocations: 12 kB / 0.6325 GB, free: 5.172 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.5964, allocations: 4 kB / 0.6325 GB, free: 5.168 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5964, allocations: 0 / 0.6325 GB, free: 5.168 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008187/0.5972, allocations: 0.5516 MB / 0.6331 GB, free: 4.586 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.5974, allocations: 108.7 kB / 0.6332 GB, free: 4.461 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.5974, allocations: 4 kB / 0.6332 GB, free: 4.457 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.5977, allocations: 23.98 kB / 0.6332 GB, free: 4.434 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.423e-05/0.5978, allocations: 19.92 kB / 0.6332 GB, free: 4.414 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.5978, allocations: 12 kB / 0.6332 GB, free: 4.402 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003262/0.5982, allocations: 291.1 kB / 0.6335 GB, free: 4.117 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5982, allocations: 0 / 0.6335 GB, free: 4.117 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006493/0.5988, allocations: 107.9 kB / 0.6336 GB, free: 4.012 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001688/0.6005, allocations: 1.319 MB / 0.6349 GB, free: 2.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007922/0.6013, allocations: 446.6 kB / 0.6353 GB, free: 2.188 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6013, allocations: 0 / 0.6353 GB, free: 2.188 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000382/0.6017, allocations: 290.8 kB / 0.6356 GB, free: 1.867 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.6022, allocations: 64.14 kB / 0.6356 GB, free: 1.809 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004863/0.6071, allocations: 4.73 MB / 0.6403 GB, free: 12.93 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.6076, allocations: 0.8067 MB / 0.6411 GB, free: 12.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002945/0.608, allocations: 63.3 kB / 0.6411 GB, free: 12.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.6081, allocations: 80.81 kB / 0.6412 GB, free: 11.97 MB / 458.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6081, allocations: 0 / 0.6412 GB, free: 11.97 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.6325, allocations: 8.582 MB / 0.6496 GB, free: 3.629 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.6327, allocations: 228.1 kB / 0.6498 GB, free: 3.387 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/2.762, allocations: 0 / 0.6498 GB, free: 3.387 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat