Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.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.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",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.0009705/0.0009705, allocations: 99.03 kB / 17 MB, free: 6.398 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.001246/0.001245, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.367/1.367, allocations: 223.3 MB / 241.9 MB, free: 320 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.2126/0.2126, allocations: 44.22 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003431, allocations: 8 kB / 409.8 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1433, allocations: 61.93 MB / 471.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.002324/0.1457, allocations: 1.746 MB / 473.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.1473, allocations: 1.111 MB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.69e-05/0.1474, allocations: 0 / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.1477, allocations: 59.66 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.1479, allocations: 91.48 kB / 474.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.1483, allocations: 151 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004774/0.1488, allocations: 477.8 kB / 475.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.444e-05/0.1488, allocations: 48.7 kB / 475.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.149, allocations: 143.2 kB / 475.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.1493, allocations: 187.1 kB / 475.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.1493, allocations: 16 kB / 475.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003804/0.1497, allocations: 239.5 kB / 475.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.876e-05/0.1498, allocations: 83.59 kB / 476 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.267e-05/0.1499, allocations: 85.45 kB / 476.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003811/0.1503, allocations: 355.3 kB / 476.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1503, allocations: 0 / 476.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1503, allocations: 0 / 476.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1503, allocations: 3.938 kB / 476.4 MB, free: 8.801 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001005/0.1513, allocations: 0.6534 MB / 477.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1514, allocations: 8.562 kB / 477.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.861e-05/0.1514, allocations: 86.52 kB / 477.2 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.357e-05/0.1515, allocations: 47.44 kB / 477.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.1518, allocations: 286.2 kB / 477.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.1519, allocations: 29 kB / 477.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.1519, allocations: 39.95 kB / 477.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008969/0.1528, allocations: 0.5778 MB / 478.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1529, allocations: 3.938 kB / 478.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.1529, allocations: 16 kB / 478.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/0.1529, allocations: 24.98 kB / 478.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007891/0.1537, allocations: 451.5 kB / 478.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.1555, allocations: 1.375 MB / 480 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005177/0.156, allocations: 287.5 kB / 480.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.1563, allocations: 150.5 kB / 480.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.506e-05/0.1564, allocations: 11.94 kB / 480.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1564, allocations: 38.5 kB / 480.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.744e-06/0.1564, allocations: 0 / 480.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001155/0.1576, allocations: 493.1 kB / 481 MB, free: 4.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.1576, allocations: 110.8 kB / 481.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005413/0.1582, allocations: 0.4978 MB / 481.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.1582, allocations: 25.7 kB / 481.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.1584, allocations: 200.2 kB / 481.8 MB, free: 3.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.726e-05/0.1584, allocations: 55.2 kB / 481.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.507e-05/0.1584, allocations: 0 / 481.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1586, allocations: 362.8 kB / 482.2 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.1589, allocations: 136 kB / 482.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.1592, allocations: 189.3 kB / 482.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/0.1596, allocations: 150.8 kB / 482.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1596, allocations: 0 / 482.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008342/0.1604, allocations: 408.9 kB / 483.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.1605, allocations: 7.938 kB / 483.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.31e-05/0.1605, allocations: 35.98 kB / 483.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1605, allocations: 0 / 483.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.1608, allocations: 35.97 kB / 483.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.1608, allocations: 12.03 kB / 483.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.161, allocations: 59.41 kB / 483.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.1611, allocations: 16 kB / 483.2 MB, free: 1.695 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.000199/0.1613, allocations: 185.7 kB / 483.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.672e-05/0.1614, allocations: 39.53 kB / 483.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007837/0.1622, allocations: 400.7 kB / 483.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.1622, allocations: 4 kB / 483.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.1622, allocations: 4 kB / 483.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1622, allocations: 0 / 483.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005677/0.1628, allocations: 373.2 kB / 484.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.152e-05/0.1628, allocations: 27.98 kB / 484.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.163, allocations: 35.97 kB / 484.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.163, allocations: 0 / 484.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.163, allocations: 8 kB / 484.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1631, allocations: 0 / 484.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.1631, allocations: 0 / 484.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008773/0.1639, allocations: 0.6014 MB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.1641, allocations: 120.6 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.819e-05/0.1641, allocations: 11.98 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.1644, allocations: 23.98 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/0.1645, allocations: 19.98 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.1645, allocations: 15.98 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004239/0.165, allocations: 371 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.165, allocations: 0 / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005173/0.1655, allocations: 115.9 kB / 485.5 MB, free: 15.28 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001365/0.1669, allocations: 1.206 MB / 486.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008948/0.1678, allocations: 0.5458 MB / 487.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1678, allocations: 0 / 487.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004696/0.1683, allocations: 391.5 kB / 487.7 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007082/0.169, allocations: 93.56 kB / 487.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/0.1736, allocations: 2.859 MB / 490.6 MB, free: 9.973 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.1742, allocations: 0.8461 MB / 491.5 MB, free: 9.102 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000214/0.1744, allocations: 63.23 kB / 491.5 MB, free: 9.043 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.1746, allocations: 107.3 kB / 491.6 MB, free: 8.938 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1746, allocations: 0 / 491.6 MB, free: 8.938 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03746/0.212, allocations: 10.52 MB / 0.4904 GB, free: 14.69 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/0.2123, allocations: 230.3 kB / 0.4906 GB, free: 14.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.139/2.351, allocations: 0 / 0.4906 GB, free: 14.45 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat does not exist to compare? outputFormat=mat