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_turbulent.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_turbulent,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",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.001562/0.001562, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.128/2.128, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001137/0.001137, allocations: 84.48 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5463/0.5463, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009859/0.000986, allocations: 16 kB / 431.5 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1521, allocations: 58.84 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4823/0.6345, allocations: 92.93 MB / 0.5696 GB, free: 9.445 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000393/0.6349, allocations: 91.94 kB / 0.5697 GB, free: 9.355 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04964/0.6846, allocations: 10.67 MB / 0.5801 GB, free: 14.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.88e-06/0.6847, allocations: 3 kB / 0.5801 GB, free: 14.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.981e-05/0.6847, allocations: 7.938 kB / 0.5801 GB, free: 14.56 MB / 410.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.001542/0.6862, allocations: 0.6508 MB / 0.5808 GB, free: 13.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.6863, allocations: 8.031 kB / 0.5808 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001621/0.6865, allocations: 86.52 kB / 0.5808 GB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.6866, allocations: 42.97 kB / 0.5809 GB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005488/0.6872, allocations: 279.3 kB / 0.5812 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/0.6872, allocations: 29 kB / 0.5812 GB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-05/0.6873, allocations: 36 kB / 0.5812 GB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.6891, allocations: 0.5855 MB / 0.5818 GB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.6892, allocations: 0 / 0.5818 GB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.518e-05/0.6892, allocations: 17.03 kB / 0.5818 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.017e-05/0.6893, allocations: 29 kB / 0.5818 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.6909, allocations: 447.5 kB / 0.5823 GB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003227/0.6941, allocations: 1.41 MB / 0.5836 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009799/0.6952, allocations: 283.6 kB / 0.5839 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.107e-05/0.6953, allocations: 11.94 kB / 0.5839 GB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.6953, allocations: 31.38 kB / 0.5839 GB, free: 10.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 3.196e-06/0.6953, allocations: 0 / 0.5839 GB, free: 10.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.00239/0.6977, allocations: 0.7151 MB / 0.5846 GB, free: 9.652 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.083e-05/0.6978, allocations: 106.9 kB / 0.5847 GB, free: 9.523 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009277/0.6988, allocations: 461 kB / 0.5852 GB, free: 9.074 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.511e-05/0.6988, allocations: 25.7 kB / 0.5852 GB, free: 9.043 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.6991, allocations: 246.7 kB / 0.5854 GB, free: 8.801 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.053e-05/0.6992, allocations: 55.16 kB / 0.5855 GB, free: 8.746 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.6992, allocations: 4 kB / 0.5855 GB, free: 8.742 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6994, allocations: 318.8 kB / 0.5858 GB, free: 8.422 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006359/0.7, allocations: 140 kB / 0.5859 GB, free: 8.281 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006931/0.7007, allocations: 182 kB / 0.5861 GB, free: 8.086 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006552/0.7014, allocations: 156 kB / 0.5863 GB, free: 7.938 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.7014, allocations: 0 / 0.5863 GB, free: 7.938 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00152/0.703, allocations: 365.3 kB / 0.5866 GB, free: 7.574 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.703, allocations: 12.09 kB / 0.5866 GB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/0.7031, allocations: 35.97 kB / 0.5867 GB, free: 7.527 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.7032, allocations: 4 kB / 0.5867 GB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.7036, allocations: 45.02 kB / 0.5867 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.7036, allocations: 3.953 kB / 0.5867 GB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005381/0.7042, allocations: 71.36 kB / 0.5868 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.422e-05/0.7042, allocations: 11.98 kB / 0.5868 GB, free: 7.395 MB / 410.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.0003794/0.7046, allocations: 189.7 kB / 0.587 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.7048, allocations: 35.53 kB / 0.587 GB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.7062, allocations: 396.6 kB / 0.5874 GB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.7063, allocations: 4 kB / 0.5874 GB, free: 6.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.7063, allocations: 0 / 0.5874 GB, free: 6.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.7063, allocations: 11.88 kB / 0.5874 GB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008888/0.7072, allocations: 357.4 kB / 0.5877 GB, free: 6.359 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-05/0.7073, allocations: 27.97 kB / 0.5878 GB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/0.7076, allocations: 35.97 kB / 0.5878 GB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.7077, allocations: 4 kB / 0.5878 GB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/0.7077, allocations: 4 kB / 0.5878 GB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.071e-05/0.7077, allocations: 7.938 kB / 0.5878 GB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.7077, allocations: 2.5 kB / 0.5878 GB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.7094, allocations: 0.6208 MB / 0.5884 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.7096, allocations: 128.6 kB / 0.5885 GB, free: 5.488 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.839e-05/0.7097, allocations: 7.984 kB / 0.5885 GB, free: 5.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000485/0.7102, allocations: 27.94 kB / 0.5886 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.7103, allocations: 23.95 kB / 0.5886 GB, free: 5.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/0.7104, allocations: 8 kB / 0.5886 GB, free: 5.422 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007303/0.7111, allocations: 375 kB / 0.589 GB, free: 5.055 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.695e-06/0.7112, allocations: 0 / 0.589 GB, free: 5.055 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008371/0.712, allocations: 127.8 kB / 0.5891 GB, free: 4.93 MB / 410.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.002593/0.7146, allocations: 1.384 MB / 0.5904 GB, free: 3.508 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001643/0.7163, allocations: 0.5465 MB / 0.591 GB, free: 2.906 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.7164, allocations: 0 / 0.591 GB, free: 2.906 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008627/0.7172, allocations: 395.2 kB / 0.5913 GB, free: 2.465 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008969/0.7182, allocations: 93.56 kB / 0.5914 GB, free: 2.379 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00823/0.7264, allocations: 3.587 MB / 0.5949 GB, free: 14.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006693/0.7271, allocations: 0.847 MB / 0.5958 GB, free: 13.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.7275, allocations: 107.4 kB / 0.5959 GB, free: 13.73 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.7275, allocations: 0 / 0.5959 GB, free: 13.73 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.981/3.708, allocations: 9.024 MB / 0.6047 GB, free: 4.734 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.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_turbulent_res.mat does not exist to compare? outputFormat=mat