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.001587/0.001587, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.029/2.029, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001093/0.001093, allocations: 86.64 kB / 267.5 MB, free: 14.04 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.2805/0.2805, allocations: 43.48 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.315e-05/4.332e-05, allocations: 8 kB / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.121, allocations: 58.86 MB / 484.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4976/0.6187, allocations: 92.83 MB / 0.5636 GB, free: 10.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003582/0.6191, allocations: 102.8 kB / 0.5637 GB, free: 10.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04858/0.6677, allocations: 10.66 MB / 0.5741 GB, free: 1.297 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6677, allocations: 0 / 0.5741 GB, free: 1.297 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.085e-05/0.6678, allocations: 4 kB / 0.5741 GB, free: 1.293 MB / 378.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.001391/0.6692, allocations: 0.6175 MB / 0.5747 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.6692, allocations: 8.031 kB / 0.5747 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000151/0.6694, allocations: 87.95 kB / 0.5748 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.6695, allocations: 47.39 kB / 0.5748 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000537/0.6701, allocations: 277.4 kB / 0.5751 GB, free: 236 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.572e-05/0.6701, allocations: 39.47 kB / 0.5751 GB, free: 212 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.97e-05/0.6702, allocations: 34.94 kB / 0.5752 GB, free: 188 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.6715, allocations: 0.5399 MB / 0.5757 GB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.6715, allocations: 3.938 kB / 0.5757 GB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-05/0.6716, allocations: 14.44 kB / 0.5757 GB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-05/0.6717, allocations: 16.78 kB / 0.5757 GB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009279/0.6726, allocations: 378.5 kB / 0.5761 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003128/0.6758, allocations: 1.402 MB / 0.5774 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006684/0.6765, allocations: 240.8 kB / 0.5777 GB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.6768, allocations: 110.2 kB / 0.5778 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.365e-05/0.6769, allocations: 7.984 kB / 0.5778 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.677, allocations: 46.06 kB / 0.5778 GB, free: 13.74 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 3.386e-06/0.677, allocations: 0 / 0.5778 GB, free: 13.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001018/0.678, allocations: 274.1 kB / 0.5781 GB, free: 13.49 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/0.6781, allocations: 102.8 kB / 0.5782 GB, free: 13.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008858/0.679, allocations: 455.7 kB / 0.5786 GB, free: 12.99 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/0.6791, allocations: 29.14 kB / 0.5787 GB, free: 12.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.6793, allocations: 239.2 kB / 0.5789 GB, free: 12.78 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.553e-05/0.6794, allocations: 58.42 kB / 0.5789 GB, free: 12.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.6795, allocations: 3.625 kB / 0.5789 GB, free: 12.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.6796, allocations: 322.4 kB / 0.5793 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.68, allocations: 95.17 kB / 0.5793 GB, free: 12.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/0.6804, allocations: 140 kB / 0.5795 GB, free: 12.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.6808, allocations: 119.5 kB / 0.5796 GB, free: 12.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.6808, allocations: 0 / 0.5796 GB, free: 12.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000928/0.6817, allocations: 291.2 kB / 0.5799 GB, free: 11.81 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.6818, allocations: 15.44 kB / 0.5799 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001118/0.6819, allocations: 27.97 kB / 0.5799 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.6819, allocations: 4 kB / 0.5799 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004087/0.6823, allocations: 43.67 kB / 0.58 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.6824, allocations: 0 / 0.58 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005441/0.6829, allocations: 67.41 kB / 0.58 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.683, allocations: 11.56 kB / 0.58 GB, free: 11.66 MB / 394.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 () * 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.000145/0.6831, allocations: 118.8 kB / 0.5801 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.6833, allocations: 39.52 kB / 0.5802 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.6845, allocations: 359.8 kB / 0.5805 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.6846, allocations: 11.92 kB / 0.5805 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.6846, allocations: 7.953 kB / 0.5805 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.6846, allocations: 0 / 0.5805 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008958/0.6855, allocations: 363.6 kB / 0.5809 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.834e-05/0.6856, allocations: 27.97 kB / 0.5809 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/0.686, allocations: 30.28 kB / 0.5809 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.686, allocations: 4 kB / 0.5809 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.686, allocations: 11.92 kB / 0.581 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.6861, allocations: 4 kB / 0.581 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6861, allocations: 4 kB / 0.581 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.6871, allocations: 0.5376 MB / 0.5815 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.6873, allocations: 120.6 kB / 0.5816 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.591e-05/0.6874, allocations: 15.39 kB / 0.5816 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000529/0.688, allocations: 31.97 kB / 0.5817 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.6881, allocations: 19.09 kB / 0.5817 GB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.246e-05/0.6882, allocations: 8 kB / 0.5817 GB, free: 9.977 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006757/0.6889, allocations: 372 kB / 0.582 GB, free: 9.688 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6889, allocations: 0 / 0.582 GB, free: 9.688 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008021/0.6897, allocations: 122.6 kB / 0.5822 GB, free: 9.574 MB / 394.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 () * 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.001804/0.6915, allocations: 1.314 MB / 0.5834 GB, free: 8.258 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.6926, allocations: 473.5 kB / 0.5839 GB, free: 7.766 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.6926, allocations: 0 / 0.5839 GB, free: 7.766 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000541/0.6932, allocations: 352.7 kB / 0.5842 GB, free: 7.379 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008529/0.694, allocations: 97.11 kB / 0.5843 GB, free: 7.309 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.6967, allocations: 0.7553 MB / 0.5851 GB, free: 6.555 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005911/0.6974, allocations: 0.8483 MB / 0.5859 GB, free: 5.691 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.6976, allocations: 102.5 kB / 0.586 GB, free: 5.66 MB / 394.7 MB Notification: Performance of SimCode: time 1.223e-06/0.6976, allocations: 0 / 0.586 GB, free: 5.66 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.85/3.547, allocations: 8.834 MB / 0.5946 GB, free: 12.88 MB / 410.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