Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001038/0.001039, allocations: 185.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009029/0.0009031, allocations: 86.88 kB / 270.2 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.2373/0.2373, allocations: 43.56 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003988/0.0003989, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1299, allocations: 58.87 MB / 490.4 MB, free: 8.555 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4081/0.538, allocations: 91.9 MB / 0.5686 GB, free: 7.797 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.5383, allocations: 92.19 kB / 0.5687 GB, free: 7.742 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02738/0.5657, allocations: 9.447 MB / 0.5779 GB, free: 15.56 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.2e-06/0.5658, allocations: 4 kB / 0.5779 GB, free: 15.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.158e-05/0.5658, allocations: 4 kB / 0.578 GB, free: 15.55 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.0009493/0.5668, allocations: 0.5892 MB / 0.5785 GB, free: 14.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.184e-05/0.5669, allocations: 8.031 kB / 0.5785 GB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.662e-05/0.567, allocations: 83.89 kB / 0.5786 GB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.46e-05/0.567, allocations: 39.53 kB / 0.5787 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000446/0.5675, allocations: 277.5 kB / 0.5789 GB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.5675, allocations: 34.55 kB / 0.579 GB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.819e-05/0.5676, allocations: 41.56 kB / 0.579 GB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008751/0.5685, allocations: 0.5306 MB / 0.5795 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.5685, allocations: 3.938 kB / 0.5795 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.5686, allocations: 13.94 kB / 0.5795 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.027e-05/0.5686, allocations: 44.16 kB / 0.5796 GB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008798/0.5695, allocations: 0.5743 MB / 0.5801 GB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.5714, allocations: 1.2 MB / 0.5813 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006198/0.572, allocations: 377 kB / 0.5817 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.5721, allocations: 20.09 kB / 0.5817 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.5721, allocations: 30.75 kB / 0.5817 GB, free: 12.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 2.084e-06/0.5721, allocations: 0 / 0.5817 GB, free: 12.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009629/0.5731, allocations: 476.1 kB / 0.5822 GB, free: 11.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.5731, allocations: 59.44 kB / 0.5822 GB, free: 11.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004232/0.5736, allocations: 405.6 kB / 0.5826 GB, free: 11.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.5736, allocations: 33.27 kB / 0.5826 GB, free: 11.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.5737, allocations: 189.8 kB / 0.5828 GB, free: 11.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.97e-05/0.5738, allocations: 70.52 kB / 0.5829 GB, free: 11.01 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.37e-05/0.5738, allocations: 3.812 kB / 0.5829 GB, free: 11.01 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.574, allocations: 358.4 kB / 0.5832 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.5742, allocations: 115.6 kB / 0.5833 GB, free: 10.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.5744, allocations: 123.5 kB / 0.5835 GB, free: 10.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.5747, allocations: 142.4 kB / 0.5836 GB, free: 10.33 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5747, allocations: 0 / 0.5836 GB, free: 10.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006127/0.5753, allocations: 339.3 kB / 0.5839 GB, free: 10.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.5754, allocations: 10.66 kB / 0.5839 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.5754, allocations: 0 / 0.5839 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.5754, allocations: 4 kB / 0.5839 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007469/0.5762, allocations: 155.5 kB / 0.5841 GB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003397/0.5796, allocations: 5.513 MB / 0.5895 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.5798, allocations: 55.14 kB / 0.5895 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.5799, allocations: 15.92 kB / 0.5895 GB, free: 4.141 MB / 394.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.0002552/0.5801, allocations: 192.8 kB / 0.5897 GB, free: 3.957 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.874e-05/0.5802, allocations: 31.62 kB / 0.5897 GB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008652/0.5811, allocations: 466.1 kB / 0.5902 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.5811, allocations: 4 kB / 0.5902 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5811, allocations: 0 / 0.5902 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5811, allocations: 3.984 kB / 0.5902 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000499/0.5817, allocations: 370.9 kB / 0.5906 GB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5817, allocations: 7.938 kB / 0.5906 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007103/0.5824, allocations: 147.9 kB / 0.5907 GB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.5824, allocations: 4 kB / 0.5907 GB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.5824, allocations: 7.875 kB / 0.5907 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003244/0.5857, allocations: 5.525 MB / 0.5961 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5857, allocations: 0 / 0.5961 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006731/0.5864, allocations: 454.4 kB / 0.5965 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.5866, allocations: 120.6 kB / 0.5967 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.5866, allocations: 7.922 kB / 0.5967 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.5868, allocations: 8 kB / 0.5967 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/0.5869, allocations: 23.91 kB / 0.5967 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.5869, allocations: 7.984 kB / 0.5967 GB, free: 12.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003602/0.5873, allocations: 339.7 kB / 0.597 GB, free: 12.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5873, allocations: 0 / 0.597 GB, free: 12.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000446/0.5878, allocations: 107.6 kB / 0.5971 GB, free: 12.36 MB / 410.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.001204/0.589, allocations: 1.061 MB / 0.5982 GB, free: 11.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.59, allocations: 378.4 kB / 0.5985 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.59, allocations: 0 / 0.5985 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007362/0.5908, allocations: 255 kB / 0.5988 GB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.5912, allocations: 89.53 kB / 0.5989 GB, free: 10.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/0.5948, allocations: 2.598 MB / 0.6014 GB, free: 8.371 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.5953, allocations: 0.864 MB / 0.6022 GB, free: 7.488 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002264/0.5955, allocations: 83.22 kB / 0.6023 GB, free: 7.406 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.5957, allocations: 108 kB / 0.6024 GB, free: 7.371 MB / 410.7 MB Notification: Performance of SimCode: time 1.984e-06/0.5957, allocations: 0 / 0.6024 GB, free: 7.371 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.6236, allocations: 10.75 MB / 0.6129 GB, free: 12.68 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000247/0.6239, allocations: 245.2 kB / 0.6132 GB, free: 12.35 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/3.029, allocations: 3.938 kB / 0.6132 GB, free: 12.35 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat