Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 4.0.0+maint.om/package.mo): time 0.0009036/0.0009036, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009703/0.0009704, allocations: 175.2 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3259/0.3259, allocations: 43.55 MB / 314.6 MB, free: 9.027 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006126/0.0006128, allocations: 18.19 kB / 384 MB, free: 8.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.141, allocations: 58.86 MB / 442.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002765/0.1438, allocations: 1.685 MB / 444.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.1461, allocations: 1.022 MB / 445.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.1463, allocations: 0 / 445.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.1467, allocations: 43.69 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002602/0.147, allocations: 75.64 kB / 445.7 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005966/0.1476, allocations: 127.6 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004931/0.1481, allocations: 362.4 kB / 446.2 MB, free: 9.832 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.797e-05/0.1482, allocations: 40.64 kB / 446.2 MB, free: 9.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.1484, allocations: 107.5 kB / 446.3 MB, free: 9.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.1487, allocations: 143.4 kB / 446.5 MB, free: 9.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.1487, allocations: 12 kB / 446.5 MB, free: 9.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003795/0.1491, allocations: 183.7 kB / 446.7 MB, free: 9.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.138e-05/0.1492, allocations: 71.72 kB / 446.8 MB, free: 9.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.141e-05/0.1493, allocations: 65.52 kB / 446.8 MB, free: 9.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.1497, allocations: 259.3 kB / 447.1 MB, free: 8.961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1497, allocations: 0 / 447.1 MB, free: 8.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1497, allocations: 0 / 447.1 MB, free: 8.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.1497, allocations: 0 / 447.1 MB, free: 8.961 MB / 382.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.001043/0.1508, allocations: 0.6002 MB / 447.7 MB, free: 8.312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1508, allocations: 8.031 kB / 447.7 MB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.869e-05/0.1509, allocations: 70.53 kB / 447.7 MB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.257e-05/0.151, allocations: 39.58 kB / 447.8 MB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.1513, allocations: 250.5 kB / 448 MB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.1513, allocations: 20.56 kB / 448 MB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.1514, allocations: 24 kB / 448.1 MB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007322/0.1521, allocations: 445.8 kB / 448.5 MB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.1521, allocations: 3.984 kB / 448.5 MB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.1522, allocations: 12 kB / 448.5 MB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.084e-05/0.1522, allocations: 12.56 kB / 448.5 MB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000691/0.1529, allocations: 353.8 kB / 448.9 MB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.1545, allocations: 1.1 MB / 450 MB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/0.155, allocations: 251.7 kB / 450.2 MB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.1552, allocations: 118.5 kB / 450.3 MB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.812e-05/0.1553, allocations: 4 kB / 450.3 MB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.1554, allocations: 42.5 kB / 450.4 MB, free: 5.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 2.164e-06/0.1554, allocations: 0 / 450.4 MB, free: 5.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001036/0.1564, allocations: 393.2 kB / 450.8 MB, free: 5.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.1565, allocations: 110.8 kB / 450.9 MB, free: 4.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000416/0.1569, allocations: 405.5 kB / 451.3 MB, free: 4.488 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.1569, allocations: 25.7 kB / 451.3 MB, free: 4.457 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.1571, allocations: 195.7 kB / 451.5 MB, free: 4.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/0.1571, allocations: 47.34 kB / 451.5 MB, free: 4.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.704e-05/0.1572, allocations: 4.125 kB / 451.5 MB, free: 4.207 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1573, allocations: 350.8 kB / 451.9 MB, free: 3.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.1576, allocations: 128.1 kB / 452 MB, free: 3.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003675/0.158, allocations: 248.5 kB / 452.3 MB, free: 3.434 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.1583, allocations: 163.8 kB / 452.4 MB, free: 3.273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1583, allocations: 0 / 452.4 MB, free: 3.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008028/0.1591, allocations: 425.1 kB / 452.8 MB, free: 2.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.1592, allocations: 8 kB / 452.8 MB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.72e-05/0.1592, allocations: 20 kB / 452.9 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.1593, allocations: 8 kB / 452.9 MB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.1595, allocations: 51.89 kB / 452.9 MB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/0.1595, allocations: 11.94 kB / 452.9 MB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.1598, allocations: 67.58 kB / 453 MB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.1599, allocations: 20 kB / 453 MB, free: 2.668 MB / 382.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.0001851/0.1601, allocations: 173.7 kB / 453.2 MB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.05e-05/0.1602, allocations: 27.62 kB / 453.2 MB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006094/0.1608, allocations: 296.1 kB / 453.5 MB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.1608, allocations: 4 kB / 453.5 MB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1608, allocations: 0 / 453.5 MB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.1608, allocations: 11.98 kB / 453.5 MB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.1613, allocations: 305.4 kB / 453.8 MB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.422e-05/0.1613, allocations: 19.98 kB / 453.8 MB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.1615, allocations: 35.91 kB / 453.9 MB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1615, allocations: 0 / 453.9 MB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.1615, allocations: 8 kB / 453.9 MB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1615, allocations: 4 kB / 453.9 MB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1615, allocations: 0 / 453.9 MB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007211/0.1623, allocations: 0.5249 MB / 454.4 MB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.1624, allocations: 108.7 kB / 454.5 MB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/0.1624, allocations: 8 kB / 454.5 MB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.1627, allocations: 27.92 kB / 454.5 MB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.944e-05/0.1628, allocations: 19.97 kB / 454.6 MB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.1628, allocations: 4 kB / 454.6 MB, free: 1.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002873/0.1631, allocations: 291.1 kB / 454.8 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1631, allocations: 0 / 454.8 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000531/0.1637, allocations: 99.83 kB / 454.9 MB, free: 0.6211 MB / 382.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.2751/0.4388, allocations: 1.105 MB / 456.1 MB, free: 45.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009996/0.4399, allocations: 453.7 kB / 456.5 MB, free: 45.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.4399, allocations: 3.031 kB / 456.5 MB, free: 45.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000407/0.4403, allocations: 288.2 kB / 456.8 MB, free: 45.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000849/0.4412, allocations: 76.02 kB / 456.9 MB, free: 45.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/0.4447, allocations: 2.19 MB / 459 MB, free: 44.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.445, allocations: 0.7952 MB / 459.8 MB, free: 44.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002027/0.4452, allocations: 63.36 kB / 459.9 MB, free: 44.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.4454, allocations: 82.77 kB / 460 MB, free: 44.09 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4454, allocations: 0 / 460 MB, free: 44.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.4694, allocations: 8.283 MB / 468.3 MB, free: 43.43 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002555/0.4697, allocations: 235 kB / 468.5 MB, free: 43.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.982/2.451, allocations: 0 / 468.5 MB, free: 43.18 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat