Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00268/0.002685, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.267/2.267, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001725/0.001725, allocations: 94.81 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3208/0.3208, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004809/0.0004811, allocations: 12 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1361, allocations: 58.86 MB / 490.3 MB, free: 9.223 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall): time 0.003253/0.1394, allocations: 1.708 MB / 492.1 MB, free: 7.496 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004177/0.1436, allocations: 1.825 MB / 493.9 MB, free: 5.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.1439, allocations: 4 kB / 493.9 MB, free: 5.656 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003736/0.1443, allocations: 55.66 kB / 493.9 MB, free: 5.602 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003592/0.1447, allocations: 79.77 kB / 494 MB, free: 5.523 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.1464, allocations: 358.9 kB / 494.4 MB, free: 5.172 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006427/0.1471, allocations: 299.3 kB / 494.7 MB, free: 4.879 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.1472, allocations: 44.72 kB / 494.7 MB, free: 4.836 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.1475, allocations: 135.4 kB / 494.8 MB, free: 4.703 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.1479, allocations: 171.3 kB / 495 MB, free: 4.535 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.656e-05/0.1479, allocations: 12 kB / 495 MB, free: 4.523 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.1495, allocations: 0.589 MB / 495.6 MB, free: 3.934 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.1498, allocations: 99.61 kB / 495.7 MB, free: 3.836 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.1499, allocations: 81.52 kB / 495.8 MB, free: 3.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009551/0.1509, allocations: 443.2 kB / 496.2 MB, free: 3.316 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1509, allocations: 3.938 kB / 496.2 MB, free: 3.312 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1509, allocations: 0 / 496.2 MB, free: 3.312 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1509, allocations: 0 / 496.2 MB, free: 3.312 MB / 330.7 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.001832/0.1528, allocations: 0.7018 MB / 496.9 MB, free: 2.562 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.1528, allocations: 12.02 kB / 496.9 MB, free: 2.551 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000149/0.153, allocations: 90.45 kB / 497 MB, free: 2.453 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.1531, allocations: 47.39 kB / 497.1 MB, free: 2.406 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006072/0.1538, allocations: 299.2 kB / 497.4 MB, free: 2.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.1538, allocations: 29 kB / 497.4 MB, free: 2.043 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.81e-05/0.1539, allocations: 36 kB / 497.4 MB, free: 2.008 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.1555, allocations: 0.5816 MB / 498 MB, free: 1.402 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.1555, allocations: 0 / 498 MB, free: 1.402 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.977e-05/0.1556, allocations: 19.98 kB / 498 MB, free: 1.383 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.406e-05/0.1557, allocations: 28.92 kB / 498 MB, free: 1.355 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.1572, allocations: 451.6 kB / 498.5 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003149/0.1604, allocations: 1.41 MB / 499.9 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009452/0.1613, allocations: 283.6 kB / 0.4885 GB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.015e-05/0.1614, allocations: 4 kB / 0.4885 GB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.536e-05/0.1615, allocations: 42.5 kB / 0.4885 GB, free: 15.08 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 4.619e-06/0.1615, allocations: 0 / 0.4885 GB, free: 15.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.002272/0.1638, allocations: 0.7148 MB / 0.4892 GB, free: 14.31 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.258e-05/0.1639, allocations: 106.8 kB / 0.4893 GB, free: 14.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.165, allocations: 0.5486 MB / 0.4898 GB, free: 13.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.165, allocations: 25.7 kB / 0.4899 GB, free: 13.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.1653, allocations: 250.6 kB / 0.4901 GB, free: 13.35 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.96e-05/0.1654, allocations: 59.19 kB / 0.4902 GB, free: 13.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.1654, allocations: 0 / 0.4902 GB, free: 13.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1656, allocations: 318.8 kB / 0.4905 GB, free: 12.97 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006178/0.1662, allocations: 148 kB / 0.4906 GB, free: 12.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006281/0.1669, allocations: 180 kB / 0.4908 GB, free: 12.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006385/0.1675, allocations: 147.9 kB / 0.4909 GB, free: 12.49 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.1676, allocations: 0 / 0.4909 GB, free: 12.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001509/0.1691, allocations: 377.2 kB / 0.4913 GB, free: 12.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.1691, allocations: 7.984 kB / 0.4913 GB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/0.1692, allocations: 32.14 kB / 0.4913 GB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.1693, allocations: 4 kB / 0.4913 GB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.1697, allocations: 51.84 kB / 0.4914 GB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.1697, allocations: 4 kB / 0.4914 GB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005411/0.1703, allocations: 59.42 kB / 0.4914 GB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/0.1703, allocations: 23.92 kB / 0.4914 GB, free: 11.93 MB / 346.7 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.0003374/0.1707, allocations: 181.8 kB / 0.4916 GB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.1709, allocations: 39.44 kB / 0.4917 GB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.1722, allocations: 408.8 kB / 0.492 GB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.1723, allocations: 4 kB / 0.492 GB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.1723, allocations: 3.953 kB / 0.4921 GB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1723, allocations: 4 kB / 0.4921 GB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008719/0.1732, allocations: 369.3 kB / 0.4924 GB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.412e-05/0.1733, allocations: 27.97 kB / 0.4924 GB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/0.1736, allocations: 35.97 kB / 0.4925 GB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.1736, allocations: 0 / 0.4925 GB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.245e-05/0.1737, allocations: 15.98 kB / 0.4925 GB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.1737, allocations: 0 / 0.4925 GB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.1737, allocations: 4 kB / 0.4925 GB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.1753, allocations: 0.6221 MB / 0.4931 GB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003429/0.1756, allocations: 172.4 kB / 0.4933 GB, free: 9.953 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.1757, allocations: 7.953 kB / 0.4933 GB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005509/0.1763, allocations: 27.97 kB / 0.4933 GB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.1764, allocations: 15.98 kB / 0.4933 GB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.937e-05/0.1765, allocations: 15.98 kB / 0.4933 GB, free: 9.887 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000766/0.1773, allocations: 403 kB / 0.4937 GB, free: 9.496 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1773, allocations: 3.938 kB / 0.4937 GB, free: 9.492 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008898/0.1782, allocations: 147.9 kB / 0.4939 GB, free: 9.348 MB / 346.7 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.002484/0.1807, allocations: 1.418 MB / 0.4952 GB, free: 7.891 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.1822, allocations: 0.5459 MB / 0.4958 GB, free: 7.289 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.1823, allocations: 0 / 0.4958 GB, free: 7.289 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008169/0.1831, allocations: 399.1 kB / 0.4962 GB, free: 6.844 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008855/0.184, allocations: 94.08 kB / 0.4962 GB, free: 6.754 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008544/0.1926, allocations: 3.786 MB / 0.4999 GB, free: 2.879 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006387/0.1933, allocations: 0.8577 MB / 0.5008 GB, free: 1.996 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/0.1936, allocations: 122.5 kB / 0.5009 GB, free: 1.879 MB / 346.7 MB Notification: Performance of SimCode: time 1.262e-06/0.1936, allocations: 3.938 kB / 0.5009 GB, free: 1.875 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.715/2.909, allocations: 9.788 MB / 0.5105 GB, free: 8.09 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_res.mat does not exist to compare? outputFormat=mat