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.001132/0.001132, allocations: 95.89 kB / 15.68 MB, free: 488 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.001845/0.001846, allocations: 175.1 kB / 16.56 MB, free: 6.379 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.836/1.836, allocations: 205.4 MB / 222.7 MB, free: 5.68 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.4545/0.4545, allocations: 43.54 MB / 314.5 MB, free: 8.797 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.000533/0.0005333, allocations: 16 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1656, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002699/0.1683, allocations: 1.639 MB / 444.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.1703, allocations: 0.9873 MB / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.1704, allocations: 4 kB / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.1707, allocations: 47.78 kB / 445.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.1709, allocations: 51.83 kB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.1714, allocations: 139.6 kB / 445.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003037/0.1717, allocations: 211.5 kB / 445.9 MB, free: 9.863 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.433e-05/0.1718, allocations: 36.66 kB / 446 MB, free: 9.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.172, allocations: 99.56 kB / 446.1 MB, free: 9.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.1721, allocations: 111.5 kB / 446.2 MB, free: 9.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.1722, allocations: 8 kB / 446.2 MB, free: 9.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003551/0.1725, allocations: 195.7 kB / 446.4 MB, free: 9.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.343e-05/0.1726, allocations: 59.8 kB / 446.4 MB, free: 9.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.04e-05/0.1727, allocations: 73.52 kB / 446.5 MB, free: 9.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.1731, allocations: 235.4 kB / 446.7 MB, free: 9.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1731, allocations: 0 / 446.7 MB, free: 9.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1731, allocations: 0 / 446.7 MB, free: 9.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1731, allocations: 0 / 446.7 MB, free: 9.055 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.001226/0.1744, allocations: 0.5924 MB / 447.3 MB, free: 8.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/0.1744, allocations: 8.031 kB / 447.3 MB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.777e-05/0.1745, allocations: 74.53 kB / 447.4 MB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.061e-05/0.1746, allocations: 35.58 kB / 447.4 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/0.175, allocations: 250.5 kB / 447.7 MB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.175, allocations: 20.56 kB / 447.7 MB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.034e-05/0.1751, allocations: 24 kB / 447.7 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007943/0.1759, allocations: 445.8 kB / 448.2 MB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1759, allocations: 3.938 kB / 448.2 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.1759, allocations: 8 kB / 448.2 MB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.635e-05/0.176, allocations: 16.56 kB / 448.2 MB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007511/0.1767, allocations: 349.8 kB / 448.5 MB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.1784, allocations: 1.116 MB / 449.7 MB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005157/0.1789, allocations: 255.6 kB / 449.9 MB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-05/0.179, allocations: 4 kB / 449.9 MB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.179, allocations: 42.59 kB / 450 MB, free: 5.629 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.179, allocations: 3.938 kB / 450 MB, free: 5.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001218/0.1803, allocations: 0.6098 MB / 450.6 MB, free: 4.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/0.1803, allocations: 106.8 kB / 450.7 MB, free: 4.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004559/0.1808, allocations: 405.4 kB / 451.1 MB, free: 4.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.1808, allocations: 33.7 kB / 451.1 MB, free: 4.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.181, allocations: 195.8 kB / 451.3 MB, free: 4.184 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.1811, allocations: 47.34 kB / 451.3 MB, free: 4.137 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-05/0.1811, allocations: 4 kB / 451.3 MB, free: 4.133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.1813, allocations: 338.8 kB / 451.7 MB, free: 3.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.1816, allocations: 132.1 kB / 451.8 MB, free: 3.664 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000416/0.182, allocations: 240.5 kB / 452 MB, free: 3.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.1824, allocations: 168.1 kB / 452.2 MB, free: 3.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.1824, allocations: 112 / 452.2 MB, free: 3.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008863/0.1833, allocations: 428.7 kB / 452.6 MB, free: 2.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.1833, allocations: 8 kB / 452.6 MB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.623e-05/0.1834, allocations: 19.98 kB / 452.6 MB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-05/0.1834, allocations: 8 kB / 452.7 MB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.1837, allocations: 64.27 kB / 452.7 MB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.1837, allocations: 7.938 kB / 452.7 MB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.184, allocations: 67.45 kB / 452.8 MB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.1841, allocations: 12 kB / 452.8 MB, free: 2.602 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.0002542/0.1843, allocations: 181.7 kB / 453 MB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.351e-05/0.1844, allocations: 31.62 kB / 453 MB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006519/0.1851, allocations: 300.1 kB / 453.3 MB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.1851, allocations: 4 kB / 453.3 MB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1851, allocations: 0 / 453.3 MB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.1851, allocations: 3.984 kB / 453.3 MB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004975/0.1856, allocations: 305.4 kB / 453.6 MB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.422e-05/0.1857, allocations: 19.97 kB / 453.6 MB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.1858, allocations: 35.97 kB / 453.7 MB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1858, allocations: 0 / 453.7 MB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.1859, allocations: 4 kB / 453.7 MB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1859, allocations: 0 / 453.7 MB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.1859, allocations: 8 kB / 453.7 MB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008332/0.1867, allocations: 0.5477 MB / 454.2 MB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.1868, allocations: 112.7 kB / 454.3 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.054e-05/0.1869, allocations: 7.984 kB / 454.3 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.1872, allocations: 19.98 kB / 454.4 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.881e-05/0.1873, allocations: 27.92 kB / 454.4 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.1873, allocations: 4 kB / 454.4 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003141/0.1876, allocations: 287.1 kB / 454.7 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1876, allocations: 0 / 454.7 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005356/0.1882, allocations: 95.83 kB / 454.8 MB, free: 0.5156 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.3405/0.5286, allocations: 1.266 MB / 456 MB, free: 45.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008851/0.5296, allocations: 454.9 kB / 456.5 MB, free: 45.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5296, allocations: 3.906 kB / 456.5 MB, free: 45.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.5299, allocations: 286.8 kB / 456.8 MB, free: 45.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006154/0.5306, allocations: 67.91 kB / 456.8 MB, free: 45.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.5347, allocations: 4.721 MB / 461.5 MB, free: 42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.5353, allocations: 0.8056 MB / 462.4 MB, free: 41.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002265/0.5355, allocations: 64.92 kB / 462.4 MB, free: 41.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.5356, allocations: 79.23 kB / 462.5 MB, free: 41.3 MB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.5356, allocations: 0 / 462.5 MB, free: 41.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.5588, allocations: 8.163 MB / 470.7 MB, free: 40.64 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.559, allocations: 222 kB / 470.9 MB, free: 40.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/2.557, allocations: 7.594 kB / 470.9 MB, free: 40.39 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