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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0008404/0.0008405, allocations: 100.8 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001036, allocations: 195.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 246 MB, free: 10.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.21/0.21, allocations: 45.93 MB / 344.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003198, allocations: 8 kB / 418.2 MB, free: 20.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1477, allocations: 63.47 MB / 481.7 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002346/0.1501, allocations: 1.686 MB / 483.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.152, allocations: 1.045 MB / 484.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.661e-05/0.1521, allocations: 0 / 484.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.1524, allocations: 51.73 kB / 484.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.1526, allocations: 71.58 kB / 484.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000597/0.1532, allocations: 139.3 kB / 484.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.1537, allocations: 354.5 kB / 485 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.941e-05/0.1538, allocations: 28.73 kB / 485 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.154, allocations: 119.4 kB / 485.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.1542, allocations: 143.4 kB / 485.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.1543, allocations: 12 kB / 485.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003892/0.1547, allocations: 187.8 kB / 485.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.1548, allocations: 75.66 kB / 485.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.896e-05/0.1549, allocations: 61.58 kB / 485.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.1552, allocations: 283.4 kB / 485.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.1552, allocations: 0 / 485.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1552, allocations: 3.938 kB / 485.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1553, allocations: 0 / 485.9 MB, free: 0.9688 MB / 350.1 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.0009829/0.1562, allocations: 0.5885 MB / 486.5 MB, free: 340 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1563, allocations: 8.031 kB / 486.5 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.558e-05/0.1564, allocations: 66.53 kB / 486.5 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003574/0.1567, allocations: 75.58 kB / 486.6 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.1571, allocations: 259 kB / 486.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.1571, allocations: 20.55 kB / 486.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.1571, allocations: 32 kB / 486.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007669/0.1579, allocations: 445.8 kB / 487.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1579, allocations: 0 / 487.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.158, allocations: 8 kB / 487.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.309e-05/0.158, allocations: 20.56 kB / 487.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006851/0.1587, allocations: 345.9 kB / 487.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.1602, allocations: 1.092 MB / 488.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005195/0.1608, allocations: 267.7 kB / 489.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/0.1611, allocations: 118.5 kB / 489.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.1612, allocations: 7.984 kB / 489.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.1612, allocations: 38.55 kB / 489.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.1612, allocations: 0 / 489.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001068/0.1623, allocations: 401 kB / 489.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/0.1624, allocations: 102.8 kB / 489.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.1629, allocations: 409.6 kB / 490.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.1629, allocations: 33.64 kB / 490.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.1631, allocations: 187.8 kB / 490.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.593e-05/0.1632, allocations: 47.27 kB / 490.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.1632, allocations: 8 kB / 490.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1633, allocations: 342.8 kB / 490.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.1636, allocations: 128.1 kB / 490.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004215/0.1641, allocations: 247.7 kB / 491.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003676/0.1645, allocations: 159.8 kB / 491.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1645, allocations: 0 / 491.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008676/0.1653, allocations: 428.6 kB / 491.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.1654, allocations: 8 kB / 491.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-05/0.1654, allocations: 23.98 kB / 491.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.1655, allocations: 8.5 kB / 491.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.1657, allocations: 59.91 kB / 491.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.1657, allocations: 7.984 kB / 491.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.166, allocations: 59.52 kB / 491.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.166, allocations: 12 kB / 491.9 MB, free: 10.65 MB / 366.1 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.0001852/0.1662, allocations: 185.6 kB / 492 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.812e-05/0.1663, allocations: 31.62 kB / 492.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006143/0.1669, allocations: 288.2 kB / 492.3 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.167, allocations: 3.984 kB / 492.3 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.167, allocations: 4 kB / 492.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.167, allocations: 0 / 492.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004568/0.1675, allocations: 305.3 kB / 492.7 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.953e-05/0.1675, allocations: 27.98 kB / 492.7 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.1677, allocations: 31.97 kB / 492.7 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.1677, allocations: 3.984 kB / 492.7 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.1677, allocations: 11.94 kB / 492.7 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1677, allocations: 3.938 kB / 492.7 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1677, allocations: 0 / 492.7 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007013/0.1684, allocations: 0.5288 MB / 493.3 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.029e-05/0.1685, allocations: 108.7 kB / 493.4 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.1686, allocations: 0 / 493.4 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.1688, allocations: 27.97 kB / 493.4 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.369e-05/0.1689, allocations: 11.98 kB / 493.4 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.1689, allocations: 12.09 kB / 493.4 MB, free: 8.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003065/0.1692, allocations: 295 kB / 493.7 MB, free: 8.691 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1693, allocations: 0 / 493.7 MB, free: 8.691 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005513/0.1698, allocations: 99.94 kB / 493.8 MB, free: 8.594 MB / 366.1 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.001299/0.1711, allocations: 1.105 MB / 494.9 MB, free: 7.461 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007932/0.1719, allocations: 462.2 kB / 495.4 MB, free: 6.973 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1719, allocations: 0 / 495.4 MB, free: 6.973 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003888/0.1723, allocations: 290.5 kB / 495.6 MB, free: 6.652 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005933/0.1729, allocations: 61.77 kB / 495.7 MB, free: 6.594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003506/0.1765, allocations: 2.187 MB / 497.9 MB, free: 4.293 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.1768, allocations: 0.795 MB / 498.7 MB, free: 3.473 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002048/0.177, allocations: 66.91 kB / 498.7 MB, free: 3.406 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.1772, allocations: 87.41 kB / 498.8 MB, free: 3.32 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1772, allocations: 3.938 kB / 498.8 MB, free: 3.316 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.1966, allocations: 8.332 MB / 0.4953 GB, free: 11.23 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.1969, allocations: 233.9 kB / 0.4955 GB, free: 10.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/2.151, allocations: 2.344 kB / 0.4955 GB, free: 10.99 MB / 382.1 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