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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",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.001531/0.001535, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.105/2.105, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001209/0.001209, allocations: 95.39 kB / 270.9 MB, free: 8.371 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.5606/0.5606, allocations: 43.55 MB / 362.7 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004821/0.000482, allocations: 12 kB / 431.5 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1472, allocations: 58.85 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5043/0.6516, allocations: 91.9 MB / 0.5686 GB, free: 10.58 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000403/0.652, allocations: 99.92 kB / 0.5687 GB, free: 10.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04512/0.6972, allocations: 9.456 MB / 0.5779 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6972, allocations: 0 / 0.5779 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.6973, allocations: 4 kB / 0.5779 GB, free: 0.9062 MB / 394.7 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.001326/0.6986, allocations: 0.5885 MB / 0.5785 GB, free: 280 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.6987, allocations: 12.03 kB / 0.5785 GB, free: 268 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001578/0.6988, allocations: 86.52 kB / 0.5786 GB, free: 172 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.699, allocations: 42.97 kB / 0.5786 GB, free: 132 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005252/0.6995, allocations: 278.5 kB / 0.5789 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.162e-05/0.6996, allocations: 29 kB / 0.5789 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.507e-05/0.6997, allocations: 39.94 kB / 0.579 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.7011, allocations: 0.5334 MB / 0.5795 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.7012, allocations: 4 kB / 0.5795 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.095e-05/0.7013, allocations: 19.98 kB / 0.5795 GB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.02e-05/0.7013, allocations: 28.98 kB / 0.5795 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.703, allocations: 0.5864 MB / 0.5801 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003074/0.7061, allocations: 1.195 MB / 0.5813 GB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.7073, allocations: 388 kB / 0.5816 GB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-05/0.7074, allocations: 8.172 kB / 0.5817 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.7075, allocations: 34.75 kB / 0.5817 GB, free: 12.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.908e-06/0.7075, allocations: 0 / 0.5817 GB, free: 12.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.001829/0.7093, allocations: 470.8 kB / 0.5821 GB, free: 12.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.7094, allocations: 55.41 kB / 0.5822 GB, free: 12.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008169/0.7103, allocations: 408.8 kB / 0.5826 GB, free: 11.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.696e-05/0.7104, allocations: 33.64 kB / 0.5826 GB, free: 11.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.7106, allocations: 226.9 kB / 0.5828 GB, free: 11.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.7107, allocations: 78.92 kB / 0.5829 GB, free: 11.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.7108, allocations: 4 kB / 0.5829 GB, free: 11.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.7109, allocations: 322.8 kB / 0.5832 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004746/0.7114, allocations: 115.9 kB / 0.5833 GB, free: 11.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004743/0.7119, allocations: 123.9 kB / 0.5834 GB, free: 11.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004928/0.7124, allocations: 132.9 kB / 0.5836 GB, free: 10.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.7124, allocations: 3.984 kB / 0.5836 GB, free: 10.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00117/0.7136, allocations: 321.3 kB / 0.5839 GB, free: 10.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.7137, allocations: 6.969 kB / 0.5839 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.7137, allocations: 4 kB / 0.5839 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.7137, allocations: 0.75 kB / 0.5839 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.7152, allocations: 151.8 kB / 0.584 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004552/0.7198, allocations: 5.521 MB / 0.5894 GB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004851/0.7204, allocations: 47.47 kB / 0.5895 GB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/0.7204, allocations: 15.97 kB / 0.5895 GB, free: 4.648 MB / 410.7 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.0003737/0.7208, allocations: 201.8 kB / 0.5897 GB, free: 4.441 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.7209, allocations: 31.62 kB / 0.5897 GB, free: 4.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.7226, allocations: 464.3 kB / 0.5902 GB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.7227, allocations: 4 kB / 0.5902 GB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.7227, allocations: 3.938 kB / 0.5902 GB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.7227, allocations: 7.938 kB / 0.5902 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008826/0.7236, allocations: 369.3 kB / 0.5905 GB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.7236, allocations: 0 / 0.5905 GB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/0.7251, allocations: 147.9 kB / 0.5907 GB, free: 3.383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/0.7251, allocations: 4 kB / 0.5907 GB, free: 3.379 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.318e-05/0.7252, allocations: 11.98 kB / 0.5907 GB, free: 3.367 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004426/0.7296, allocations: 5.52 MB / 0.5961 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.7297, allocations: 0 / 0.5961 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.731, allocations: 458 kB / 0.5965 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.7313, allocations: 120.6 kB / 0.5966 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-05/0.7314, allocations: 4 kB / 0.5966 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/0.7318, allocations: 15.98 kB / 0.5966 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.7319, allocations: 19.97 kB / 0.5967 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/0.732, allocations: 12 kB / 0.5967 GB, free: 12.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006434/0.7326, allocations: 331.1 kB / 0.597 GB, free: 12.67 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.7326, allocations: 0 / 0.597 GB, free: 12.67 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007064/0.7333, allocations: 115.8 kB / 0.5971 GB, free: 12.55 MB / 426.7 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.002043/0.7354, allocations: 1.068 MB / 0.5981 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002103/0.7376, allocations: 371.5 kB / 0.5985 GB, free: 11.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.7376, allocations: 3.938 kB / 0.5985 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001524/0.7391, allocations: 255.6 kB / 0.5987 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007658/0.7399, allocations: 77.5 kB / 0.5988 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00682/0.7468, allocations: 2.624 MB / 0.6014 GB, free: 8.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006057/0.7474, allocations: 0.8542 MB / 0.6022 GB, free: 7.207 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/0.7478, allocations: 111.4 kB / 0.6023 GB, free: 7.098 MB / 426.7 MB Notification: Performance of SimCode: time 1.603e-06/0.7478, allocations: 0 / 0.6023 GB, free: 7.098 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.258/4.006, allocations: 20.61 MB / 0.6224 GB, free: 2.496 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.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_KC_res.mat does not exist to compare? outputFormat=mat