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_laminar.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_laminar,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_3_2_3_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.001602/0.001607, 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.134/2.134, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001172/0.001172, allocations: 94.8 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.3301/0.3301, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004843/0.0004846, allocations: 12 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1367, allocations: 58.86 MB / 490.3 MB, free: 9.23 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.003469/0.1403, allocations: 1.704 MB / 492 MB, free: 7.508 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002879/0.1432, allocations: 1.116 MB / 493.2 MB, free: 6.383 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.1435, allocations: 3.938 kB / 493.2 MB, free: 6.379 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003458/0.1439, allocations: 51.72 kB / 493.2 MB, free: 6.328 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.1441, allocations: 75.73 kB / 493.3 MB, free: 6.254 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000861/0.145, allocations: 155.6 kB / 493.4 MB, free: 6.102 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000597/0.1456, allocations: 287.3 kB / 493.7 MB, free: 5.82 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.1458, allocations: 44.72 kB / 493.8 MB, free: 5.777 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.1461, allocations: 135.4 kB / 493.9 MB, free: 5.645 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.1464, allocations: 151.3 kB / 494 MB, free: 5.496 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.764e-05/0.1465, allocations: 12 kB / 494.1 MB, free: 5.484 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007832/0.1473, allocations: 251.7 kB / 494.3 MB, free: 5.238 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.1474, allocations: 79.7 kB / 494.4 MB, free: 5.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.1476, allocations: 85.45 kB / 494.5 MB, free: 5.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006697/0.1483, allocations: 331.5 kB / 494.8 MB, free: 4.746 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1483, allocations: 0 / 494.8 MB, free: 4.746 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1483, allocations: 0 / 494.8 MB, free: 4.746 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1483, allocations: 0 / 494.8 MB, free: 4.746 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.001639/0.1499, allocations: 0.655 MB / 495.4 MB, free: 4.043 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.151e-05/0.15, allocations: 16.02 kB / 495.5 MB, free: 4.027 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/0.1502, allocations: 82.52 kB / 495.5 MB, free: 3.938 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.1503, allocations: 47.39 kB / 495.6 MB, free: 3.891 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005931/0.1509, allocations: 286.3 kB / 495.9 MB, free: 3.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.038e-05/0.151, allocations: 32.94 kB / 495.9 MB, free: 3.539 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.336e-05/0.1511, allocations: 36 kB / 495.9 MB, free: 3.504 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.1527, allocations: 0.5817 MB / 496.5 MB, free: 2.898 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.1527, allocations: 0 / 496.5 MB, free: 2.898 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.279e-05/0.1528, allocations: 19.98 kB / 496.5 MB, free: 2.879 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.9e-05/0.1529, allocations: 20.94 kB / 496.6 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.1544, allocations: 451.6 kB / 497 MB, free: 2.418 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003132/0.1576, allocations: 1.394 MB / 498.4 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009524/0.1586, allocations: 283.6 kB / 498.7 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.385e-05/0.1587, allocations: 11.98 kB / 498.7 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.1587, allocations: 42.56 kB / 498.7 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 3.997e-06/0.1588, allocations: 0 / 498.7 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.002324/0.1611, allocations: 0.7181 MB / 499.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.134e-05/0.1612, allocations: 106.8 kB / 499.5 MB, free: 15.69 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000956/0.1622, allocations: 0.494 MB / 0.4883 GB, free: 15.19 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/0.1622, allocations: 25.7 kB / 0.4883 GB, free: 15.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.1625, allocations: 238.6 kB / 0.4886 GB, free: 14.92 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.687e-05/0.1626, allocations: 67.23 kB / 0.4886 GB, free: 14.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.1626, allocations: 3.938 kB / 0.4886 GB, free: 14.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.1628, allocations: 322.8 kB / 0.4889 GB, free: 14.53 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006098/0.1634, allocations: 136 kB / 0.4891 GB, free: 14.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006277/0.1641, allocations: 185.4 kB / 0.4893 GB, free: 14.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006468/0.1647, allocations: 147.8 kB / 0.4894 GB, free: 14.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1648, allocations: 4 kB / 0.4894 GB, free: 14.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001479/0.1662, allocations: 373.1 kB / 0.4898 GB, free: 13.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.1663, allocations: 10.66 kB / 0.4898 GB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001068/0.1664, allocations: 31.97 kB / 0.4898 GB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.1665, allocations: 7.953 kB / 0.4898 GB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.1669, allocations: 40.09 kB / 0.4898 GB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.1669, allocations: 3.984 kB / 0.4898 GB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005011/0.1674, allocations: 63.41 kB / 0.4899 GB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.225e-05/0.1675, allocations: 12 kB / 0.4899 GB, free: 13.51 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.000343/0.1678, allocations: 185.7 kB / 0.4901 GB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.168, allocations: 39.53 kB / 0.4901 GB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.1693, allocations: 384.7 kB / 0.4905 GB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.1694, allocations: 7.984 kB / 0.4905 GB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.1694, allocations: 15.89 kB / 0.4905 GB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1694, allocations: 0 / 0.4905 GB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008534/0.1703, allocations: 357.4 kB / 0.4909 GB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.477e-05/0.1704, allocations: 35.91 kB / 0.4909 GB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003013/0.1707, allocations: 31.97 kB / 0.4909 GB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.1707, allocations: 4 kB / 0.4909 GB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.742e-05/0.1708, allocations: 11.92 kB / 0.4909 GB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.1708, allocations: 4 kB / 0.4909 GB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1708, allocations: 4 kB / 0.4909 GB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.1723, allocations: 0.6143 MB / 0.4915 GB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.1725, allocations: 132.5 kB / 0.4917 GB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.753e-05/0.1726, allocations: 3.953 kB / 0.4917 GB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004853/0.1731, allocations: 19.98 kB / 0.4917 GB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.1733, allocations: 23.97 kB / 0.4917 GB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-05/0.1733, allocations: 8 kB / 0.4917 GB, free: 11.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006778/0.174, allocations: 371 kB / 0.4921 GB, free: 11.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.174, allocations: 4 kB / 0.4921 GB, free: 11.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007854/0.1748, allocations: 123.8 kB / 0.4922 GB, free: 11.05 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.002216/0.177, allocations: 1.351 MB / 0.4935 GB, free: 9.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.1786, allocations: 0.5343 MB / 0.494 GB, free: 9.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1786, allocations: 0 / 0.494 GB, free: 9.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008621/0.1795, allocations: 403.2 kB / 0.4944 GB, free: 8.621 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008814/0.1804, allocations: 90.2 kB / 0.4945 GB, free: 8.531 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007938/0.1884, allocations: 3.58 MB / 0.498 GB, free: 4.867 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006372/0.1891, allocations: 0.8499 MB / 0.4988 GB, free: 3.988 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.1894, allocations: 111.4 kB / 0.4989 GB, free: 3.879 MB / 346.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1894, allocations: 0 / 0.4989 GB, free: 3.879 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.649/2.838, allocations: 8.751 MB / 0.5075 GB, free: 11.13 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.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_laminar_res.mat does not exist to compare? outputFormat=mat