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.002136/0.002136, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 82.11 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.295/0.295, allocations: 43.5 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.309e-05/3.327e-05, allocations: 4.203 kB / 418.3 MB, free: 40.92 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4329/0.433, allocations: 58.85 MB / 477.2 MB, free: 5.176 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1699/0.6029, allocations: 91.15 MB / 0.555 GB, free: 8.039 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003948/0.6034, allocations: 95.92 kB / 0.5551 GB, free: 7.945 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04351/0.6469, allocations: 9.329 MB / 0.5642 GB, free: 14.45 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.6469, allocations: 0 / 0.5642 GB, free: 14.45 MB / 411.1 MB Notification: Performance of Transformations before backend: time 2.058e-05/0.647, allocations: 8 kB / 0.5642 GB, free: 14.45 MB / 411.1 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.001177/0.6482, allocations: 0.5651 MB / 0.5648 GB, free: 13.84 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.6482, allocations: 8.031 kB / 0.5648 GB, free: 13.83 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.6484, allocations: 39.53 kB / 0.5648 GB, free: 13.79 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005244/0.6489, allocations: 290.2 kB / 0.5651 GB, free: 13.46 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.649, allocations: 16 kB / 0.5651 GB, free: 13.45 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.022e-05/0.6491, allocations: 20 kB / 0.5651 GB, free: 13.43 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0011/0.6502, allocations: 489.7 kB / 0.5656 GB, free: 12.95 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.6513, allocations: 481 kB / 0.5661 GB, free: 12.47 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.6513, allocations: 0 / 0.5661 GB, free: 12.47 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.773e-05/0.6514, allocations: 4 kB / 0.5661 GB, free: 12.47 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-05/0.6515, allocations: 29.3 kB / 0.5661 GB, free: 12.44 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002793/0.6543, allocations: 1.046 MB / 0.5671 GB, free: 11.35 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.6554, allocations: 411.8 kB / 0.5675 GB, free: 10.94 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003604/0.6558, allocations: 137.2 kB / 0.5677 GB, free: 10.8 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-05/0.6558, allocations: 12.22 kB / 0.5677 GB, free: 10.79 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.6559, allocations: 30.8 kB / 0.5677 GB, free: 10.75 MB / 411.1 MB Notification: Performance of pre-optimization done (n=28): time 3.267e-06/0.6559, allocations: 0 / 0.5677 GB, free: 10.75 MB / 411.1 MB Notification: Performance of matching and sorting (n=28): time 0.001008/0.6569, allocations: 339.1 kB / 0.568 GB, free: 10.42 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.657, allocations: 55.41 kB / 0.5681 GB, free: 10.35 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.6572, allocations: 133.4 kB / 0.5682 GB, free: 10.21 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.6572, allocations: 25.7 kB / 0.5682 GB, free: 10.18 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.6574, allocations: 270.5 kB / 0.5685 GB, free: 9.918 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.6575, allocations: 86.66 kB / 0.5686 GB, free: 9.832 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/0.6576, allocations: 0 / 0.5686 GB, free: 9.832 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6577, allocations: 318.8 kB / 0.5689 GB, free: 9.512 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.6581, allocations: 115.9 kB / 0.569 GB, free: 9.398 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.6584, allocations: 119.9 kB / 0.5691 GB, free: 9.281 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.6588, allocations: 131.8 kB / 0.5692 GB, free: 9.152 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6588, allocations: 0 / 0.5692 GB, free: 9.152 MB / 411.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008962/0.6597, allocations: 322 kB / 0.5695 GB, free: 8.832 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.6597, allocations: 8 kB / 0.5695 GB, free: 8.824 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.6598, allocations: 7.984 kB / 0.5695 GB, free: 8.816 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.6598, allocations: 0 / 0.5695 GB, free: 8.816 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.6613, allocations: 151.9 kB / 0.5697 GB, free: 8.668 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004378/0.6657, allocations: 5.544 MB / 0.5751 GB, free: 2.914 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/0.6661, allocations: 27.77 kB / 0.5751 GB, free: 2.887 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/0.6662, allocations: 11.98 kB / 0.5751 GB, free: 2.875 MB / 411.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 19 * 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.0001668/0.6664, allocations: 112.9 kB / 0.5752 GB, free: 2.758 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009021/0.6673, allocations: 325.2 kB / 0.5756 GB, free: 2.434 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.74e-05/0.6674, allocations: 15.91 kB / 0.5756 GB, free: 2.418 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.6687, allocations: 442.9 kB / 0.576 GB, free: 1.977 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.6687, allocations: 4 kB / 0.576 GB, free: 1.973 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.6688, allocations: 3.938 kB / 0.576 GB, free: 1.969 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.383e-06/0.6688, allocations: 0 / 0.576 GB, free: 1.969 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007356/0.6695, allocations: 345.8 kB / 0.5763 GB, free: 1.594 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.6695, allocations: 3.984 kB / 0.5763 GB, free: 1.59 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/0.671, allocations: 151.8 kB / 0.5765 GB, free: 1.441 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/0.671, allocations: 8 kB / 0.5765 GB, free: 1.434 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/0.6711, allocations: 7.984 kB / 0.5765 GB, free: 1.426 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004382/0.6755, allocations: 5.54 MB / 0.5819 GB, free: 11.68 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.6755, allocations: 4.094 kB / 0.5819 GB, free: 11.67 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.6766, allocations: 435.7 kB / 0.5823 GB, free: 11.23 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.893e-05/0.6767, allocations: 92.86 kB / 0.5824 GB, free: 11.12 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.6768, allocations: 4 kB / 0.5824 GB, free: 11.12 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.6771, allocations: 11.94 kB / 0.5824 GB, free: 11.11 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.6772, allocations: 23.97 kB / 0.5824 GB, free: 11.08 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/0.6773, allocations: 15.98 kB / 0.5825 GB, free: 11.07 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.6774, allocations: 108.1 kB / 0.5826 GB, free: 10.96 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6774, allocations: 0 / 0.5826 GB, free: 10.96 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0006984/0.6781, allocations: 127.5 kB / 0.5827 GB, free: 10.84 MB / 427.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 19 * 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.001596/0.6797, allocations: 1.035 MB / 0.5837 GB, free: 9.777 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001814/0.6816, allocations: 367.6 kB / 0.584 GB, free: 9.418 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.6816, allocations: 4 kB / 0.5841 GB, free: 9.414 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.6829, allocations: 243.7 kB / 0.5843 GB, free: 9.176 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.6833, allocations: 24.5 kB / 0.5843 GB, free: 9.152 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.6854, allocations: 0.6734 MB / 0.585 GB, free: 8.438 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006249/0.686, allocations: 0.8534 MB / 0.5858 GB, free: 7.551 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/0.6863, allocations: 115.4 kB / 0.5859 GB, free: 7.438 MB / 427.1 MB Notification: Performance of SimCode: time 3.476e-06/0.6863, allocations: 0 / 0.5859 GB, free: 7.438 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.339/4.025, allocations: 18.96 MB / 0.6044 GB, free: 4.457 MB / 443.1 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