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_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.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_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.0009062/0.0009062, allocations: 93.7 kB / 16.98 MB, free: 5.934 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.0008705/0.0008705, allocations: 186.2 kB / 17.88 MB, free: 5.594 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.384/1.384, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2158/0.2158, allocations: 44.22 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004596/0.0004598, allocations: 8 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1569, allocations: 61.91 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.002632/0.1596, allocations: 1.622 MB / 473.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.161, allocations: 0.7876 MB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.399e-05/0.161, allocations: 4 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.1613, allocations: 55.64 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.1616, allocations: 87.78 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.1618, allocations: 71.78 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.1621, allocations: 251.4 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.635e-05/0.1622, allocations: 44.72 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.1624, allocations: 111.5 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.1626, allocations: 147.4 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.1626, allocations: 8 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.1628, allocations: 135.9 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.966e-05/0.1629, allocations: 91.64 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.927e-05/0.163, allocations: 77.52 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.1633, allocations: 275.6 kB / 475.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1634, allocations: 4 kB / 475.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1634, allocations: 0 / 475.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1634, allocations: 0 / 475.3 MB, free: 9.848 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0009075/0.1643, allocations: 0.5889 MB / 475.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.1643, allocations: 8.031 kB / 475.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.724e-05/0.1644, allocations: 86.5 kB / 476 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.697e-05/0.1645, allocations: 43.44 kB / 476 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.1649, allocations: 274.5 kB / 476.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.1649, allocations: 24.94 kB / 476.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.29e-05/0.165, allocations: 43.94 kB / 476.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008277/0.1658, allocations: 0.549 MB / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1658, allocations: 4 kB / 476.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.609e-05/0.1659, allocations: 16 kB / 476.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.526e-05/0.166, allocations: 44.95 kB / 477 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009442/0.1669, allocations: 0.5776 MB / 477.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.1687, allocations: 1.191 MB / 478.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000637/0.1694, allocations: 396.1 kB / 479.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.1694, allocations: 8.172 kB / 479.1 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.1695, allocations: 34.73 kB / 479.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.854e-06/0.1695, allocations: 0 / 479.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009898/0.1705, allocations: 480 kB / 479.6 MB, free: 5.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.1705, allocations: 51.41 kB / 479.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004713/0.171, allocations: 453.6 kB / 480.1 MB, free: 4.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.171, allocations: 33.7 kB / 480.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.1712, allocations: 188.3 kB / 480.3 MB, free: 4.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.146e-05/0.1713, allocations: 74.86 kB / 480.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/0.1713, allocations: 7.938 kB / 480.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1715, allocations: 350.8 kB / 480.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.1717, allocations: 119.9 kB / 480.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.1719, allocations: 126.3 kB / 481 MB, free: 3.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.1722, allocations: 131.8 kB / 481.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1722, allocations: 0 / 481.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006216/0.1728, allocations: 363.7 kB / 481.5 MB, free: 3.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1729, allocations: 4 kB / 481.5 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1729, allocations: 0 / 481.5 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1729, allocations: 4 kB / 481.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007316/0.1736, allocations: 147.8 kB / 481.6 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/0.1765, allocations: 5.524 MB / 487.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.1767, allocations: 47.39 kB / 487.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.1767, allocations: 12 kB / 487.2 MB, free: 13.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002114/0.1769, allocations: 194.4 kB / 487.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.39e-05/0.177, allocations: 39.48 kB / 487.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008448/0.1779, allocations: 460.5 kB / 487.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.1779, allocations: 0 / 487.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.1779, allocations: 7.938 kB / 487.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.1779, allocations: 3.984 kB / 487.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004746/0.1784, allocations: 373.2 kB / 488.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1784, allocations: 3.938 kB / 488.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006662/0.1791, allocations: 151.9 kB / 488.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-05/0.1791, allocations: 7.953 kB / 488.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.1791, allocations: 7.984 kB / 488.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002869/0.182, allocations: 5.524 MB / 494 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.182, allocations: 288 / 494 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006838/0.1827, allocations: 454.7 kB / 494.4 MB, free: 6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.1829, allocations: 116.6 kB / 494.5 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.746e-05/0.1829, allocations: 8 kB / 494.5 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.1832, allocations: 15.98 kB / 494.6 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.433e-05/0.1833, allocations: 19.97 kB / 494.6 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.1833, allocations: 11.98 kB / 494.6 MB, free: 5.812 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000453/0.1838, allocations: 335.1 kB / 494.9 MB, free: 5.484 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1838, allocations: 0 / 494.9 MB, free: 5.484 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004855/0.1843, allocations: 95.91 kB / 495 MB, free: 5.391 MB / 366.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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {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.001344/0.1856, allocations: 1.035 MB / 496 MB, free: 4.332 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.1869, allocations: 415.5 kB / 496.5 MB, free: 3.926 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1869, allocations: 0 / 496.5 MB, free: 3.926 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008687/0.1878, allocations: 280.5 kB / 496.7 MB, free: 3.652 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.1882, allocations: 77.45 kB / 496.8 MB, free: 3.578 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003837/0.1921, allocations: 2.645 MB / 499.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.1926, allocations: 0.862 MB / 0.4886 GB, free: 16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002409/0.1928, allocations: 79.22 kB / 0.4887 GB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.193, allocations: 115.4 kB / 0.4888 GB, free: 15.8 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.193, allocations: 0 / 0.4888 GB, free: 15.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.2181, allocations: 10.23 MB / 0.4988 GB, free: 5.895 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002604/0.2184, allocations: 254 kB / 0.499 GB, free: 5.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/2.214, allocations: 0 / 0.499 GB, free: 5.559 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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.HelicalPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat