Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",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.0008114/0.0008115, allocations: 97.66 kB / 17 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 181.8 kB / 17.89 MB, free: 5.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 223.2 MB / 241.9 MB, free: 336 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2226/0.2226, allocations: 44.22 MB / 337.2 MB, free: 2.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003237, allocations: 8.219 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.14, allocations: 61.94 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.003579/0.1436, allocations: 1.77 MB / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.1452, allocations: 0.7835 MB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.056e-05/0.1453, allocations: 4 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.1455, allocations: 51.72 kB / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004855/0.146, allocations: 131.4 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.1463, allocations: 87.72 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006564/0.1469, allocations: 0.5251 MB / 475 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.811e-05/0.147, allocations: 56.62 kB / 475.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.1473, allocations: 163.2 kB / 475.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.1475, allocations: 219.1 kB / 475.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.1476, allocations: 12 kB / 475.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003981/0.148, allocations: 239.6 kB / 475.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.1481, allocations: 103.6 kB / 475.8 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.104e-05/0.1482, allocations: 93.44 kB / 475.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003934/0.1486, allocations: 363.2 kB / 476.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1486, allocations: 0 / 476.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1486, allocations: 4 kB / 476.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1486, allocations: 4 kB / 476.3 MB, free: 9.035 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.0009565/0.1496, allocations: 0.6433 MB / 476.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.1496, allocations: 8.031 kB / 476.9 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.1498, allocations: 98.48 kB / 477 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.891e-05/0.1498, allocations: 47.44 kB / 477 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.1502, allocations: 290.3 kB / 477.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/0.1502, allocations: 40.94 kB / 477.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.834e-05/0.1503, allocations: 40 kB / 477.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.1514, allocations: 0.664 MB / 478.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1514, allocations: 0 / 478.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.203e-05/0.1514, allocations: 16 kB / 478.1 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.697e-05/0.1515, allocations: 49.28 kB / 478.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.1526, allocations: 0.7076 MB / 478.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.1546, allocations: 1.34 MB / 480.2 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007653/0.1554, allocations: 460.4 kB / 480.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/0.1557, allocations: 161.2 kB / 480.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/0.1557, allocations: 12.22 kB / 480.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.1557, allocations: 34.8 kB / 480.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.603e-06/0.1557, allocations: 0 / 480.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001055/0.1568, allocations: 0.5521 MB / 481.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.1569, allocations: 55.41 kB / 481.4 MB, free: 3.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005242/0.1574, allocations: 493.4 kB / 481.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.1574, allocations: 29.7 kB / 482 MB, free: 3.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.1576, allocations: 220.4 kB / 482.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.341e-05/0.1577, allocations: 94.59 kB / 482.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/0.1577, allocations: 8 kB / 482.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1579, allocations: 354.8 kB / 482.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.1582, allocations: 164.5 kB / 482.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.1586, allocations: 248.2 kB / 483 MB, free: 1.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.159, allocations: 196.8 kB / 483.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.159, allocations: 4 kB / 483.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008541/0.1598, allocations: 0.4927 MB / 483.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.1599, allocations: 7.938 kB / 483.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.1599, allocations: 4 kB / 483.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1599, allocations: 4 kB / 483.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009502/0.1609, allocations: 203.8 kB / 483.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004309/0.1652, allocations: 7.314 MB / 491.2 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/0.1656, allocations: 63.27 kB / 491.3 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.48e-05/0.1657, allocations: 19.95 kB / 491.3 MB, free: 9.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003754/0.1661, allocations: 231.1 kB / 491.5 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.528e-05/0.1661, allocations: 43.47 kB / 491.6 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.1673, allocations: 0.5404 MB / 492.1 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.1673, allocations: 4 kB / 492.1 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.1673, allocations: 0 / 492.1 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.1673, allocations: 7.922 kB / 492.1 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005793/0.1679, allocations: 417.2 kB / 492.5 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1679, allocations: 0 / 492.5 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008316/0.1687, allocations: 199.8 kB / 492.7 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1688, allocations: 4 kB / 492.7 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.1688, allocations: 11.98 kB / 492.8 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004216/0.173, allocations: 7.29 MB / 0.4883 GB, free: 344 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.173, allocations: 288 / 0.4883 GB, free: 344 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008082/0.1739, allocations: 0.5117 MB / 0.4888 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.174, allocations: 124.5 kB / 0.4889 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.109e-05/0.1741, allocations: 4 kB / 0.489 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.1743, allocations: 12 kB / 0.489 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.1744, allocations: 27.95 kB / 0.489 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.1744, allocations: 12 kB / 0.489 GB, free: 15.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003993/0.1748, allocations: 359 kB / 0.4893 GB, free: 15.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1748, allocations: 0 / 0.4893 GB, free: 15.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004891/0.1753, allocations: 123.8 kB / 0.4895 GB, free: 15.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001252/0.1766, allocations: 1.09 MB / 0.4905 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001415/0.178, allocations: 0.5275 MB / 0.491 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.178, allocations: 3.938 kB / 0.491 GB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009505/0.179, allocations: 343.7 kB / 0.4914 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/0.1796, allocations: 109.4 kB / 0.4915 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004364/0.1839, allocations: 3.04 MB / 0.4944 GB, free: 9.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005819/0.1846, allocations: 0.878 MB / 0.4953 GB, free: 9.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004066/0.185, allocations: 136.1 kB / 0.4954 GB, free: 8.883 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.1852, allocations: 131.4 kB / 0.4956 GB, free: 8.754 MB / 382.1 MB Notification: Performance of SimCode: time 1.252e-06/0.1852, allocations: 4 kB / 0.4956 GB, free: 8.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2772/0.4624, allocations: 12.4 MB / 0.5077 GB, free: 49.86 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/0.4626, allocations: 260.9 kB / 0.5079 GB, free: 49.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.293/2.756, allocations: 1.188 kB / 0.5079 GB, free: 49.5 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat