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_overall.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_overall,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",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.001491/0.001491, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.635/1.635, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009412/0.0009409, allocations: 92.25 kB / 267.1 MB, free: 9.277 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.4037/0.4037, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.967e-05/3.975e-05, allocations: 4 kB / 425.4 MB, free: 8.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1401, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3934/0.5335, allocations: 98.25 MB / 0.5689 GB, free: 7.285 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.5338, allocations: 97.92 kB / 0.569 GB, free: 7.227 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04261/0.5764, allocations: 15.3 MB / 0.5839 GB, free: 9.965 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5764, allocations: 0 / 0.5839 GB, free: 9.965 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.352e-05/0.5765, allocations: 4 kB / 0.5839 GB, free: 9.961 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.001289/0.5778, allocations: 0.6685 MB / 0.5846 GB, free: 9.277 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.5778, allocations: 8.031 kB / 0.5846 GB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.578, allocations: 83.16 kB / 0.5847 GB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.5781, allocations: 51.42 kB / 0.5847 GB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004931/0.5786, allocations: 306.1 kB / 0.585 GB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.5786, allocations: 27.34 kB / 0.585 GB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.476e-05/0.5787, allocations: 39.12 kB / 0.5851 GB, free: 8.789 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008123/0.5795, allocations: 0.536 MB / 0.5856 GB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.5795, allocations: 1.375 kB / 0.5856 GB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.885e-05/0.5796, allocations: 15 kB / 0.5856 GB, free: 8.367 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.59e-05/0.5796, allocations: 26.09 kB / 0.5856 GB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005886/0.5802, allocations: 366.5 kB / 0.586 GB, free: 8.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.5824, allocations: 1.417 MB / 0.5874 GB, free: 6.754 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005329/0.5829, allocations: 245.2 kB / 0.5876 GB, free: 6.512 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.5832, allocations: 107.4 kB / 0.5877 GB, free: 6.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.908e-05/0.5833, allocations: 11.98 kB / 0.5877 GB, free: 6.398 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.5833, allocations: 41.86 kB / 0.5877 GB, free: 6.352 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.505e-06/0.5834, allocations: 3.938 kB / 0.5877 GB, free: 6.348 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008734/0.5842, allocations: 282.3 kB / 0.588 GB, free: 6.086 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/0.5843, allocations: 102.8 kB / 0.5881 GB, free: 5.961 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008649/0.5852, allocations: 0.4888 MB / 0.5886 GB, free: 5.566 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.5853, allocations: 33.64 kB / 0.5886 GB, free: 5.527 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.5855, allocations: 216.5 kB / 0.5888 GB, free: 5.391 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/0.5856, allocations: 65.97 kB / 0.5889 GB, free: 5.336 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.005e-05/0.5856, allocations: 0 / 0.5889 GB, free: 5.336 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.5858, allocations: 353 kB / 0.5892 GB, free: 5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.5861, allocations: 98.78 kB / 0.5893 GB, free: 4.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/0.5864, allocations: 143.8 kB / 0.5895 GB, free: 4.766 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003425/0.5868, allocations: 112 kB / 0.5896 GB, free: 4.668 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5868, allocations: 0 / 0.5896 GB, free: 4.668 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009678/0.5878, allocations: 314.1 kB / 0.5899 GB, free: 4.379 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.5878, allocations: 12.03 kB / 0.5899 GB, free: 4.367 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000101/0.5879, allocations: 31.47 kB / 0.5899 GB, free: 4.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/0.588, allocations: 4 kB / 0.5899 GB, free: 4.336 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003922/0.5884, allocations: 39.92 kB / 0.59 GB, free: 4.297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.775e-05/0.5884, allocations: 5.703 kB / 0.59 GB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005719/0.589, allocations: 71.11 kB / 0.59 GB, free: 4.227 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/0.5891, allocations: 15.98 kB / 0.59 GB, free: 4.211 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 () * 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.000162/0.5892, allocations: 108.4 kB / 0.5901 GB, free: 4.102 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.5894, allocations: 43.44 kB / 0.5902 GB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.5906, allocations: 371.9 kB / 0.5905 GB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.5907, allocations: 8 kB / 0.5905 GB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.5907, allocations: 3.953 kB / 0.5905 GB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.5907, allocations: 4 kB / 0.5906 GB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.5918, allocations: 370.8 kB / 0.5909 GB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.559e-05/0.5919, allocations: 27.73 kB / 0.5909 GB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.5921, allocations: 27.97 kB / 0.591 GB, free: 3.297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.5e-05/0.5922, allocations: 4 kB / 0.591 GB, free: 3.293 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.571e-05/0.5922, allocations: 7.984 kB / 0.591 GB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.5922, allocations: 8 kB / 0.591 GB, free: 3.277 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.5923, allocations: 0 / 0.591 GB, free: 3.277 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.5934, allocations: 0.5376 MB / 0.5915 GB, free: 2.738 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004352/0.5938, allocations: 174.4 kB / 0.5917 GB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.594, allocations: 11.45 kB / 0.5917 GB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006167/0.5946, allocations: 27.97 kB / 0.5917 GB, free: 2.523 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.5948, allocations: 14.73 kB / 0.5917 GB, free: 2.512 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/0.5948, allocations: 15.11 kB / 0.5917 GB, free: 2.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008246/0.5957, allocations: 400.4 kB / 0.5921 GB, free: 2.188 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5957, allocations: 0 / 0.5921 GB, free: 2.188 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001195/0.5969, allocations: 161.2 kB / 0.5923 GB, free: 2.039 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 () * 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.002485/0.5994, allocations: 1.4 MB / 0.5936 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.6005, allocations: 468.7 kB / 0.5941 GB, free: 164 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6006, allocations: 4.25 kB / 0.5941 GB, free: 160 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006154/0.6012, allocations: 363.3 kB / 0.5944 GB, free: 15.76 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.6022, allocations: 85.66 kB / 0.5945 GB, free: 15.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003126/0.6054, allocations: 0.7855 MB / 0.5953 GB, free: 14.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008335/0.6062, allocations: 0.868 MB / 0.5961 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000384/0.6066, allocations: 59.27 kB / 0.5962 GB, free: 13.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/0.6069, allocations: 118.1 kB / 0.5963 GB, free: 13.94 MB / 426.7 MB Notification: Performance of SimCode: time 2.174e-06/0.607, allocations: 0 / 0.5963 GB, free: 13.94 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04502/0.652, allocations: 12.5 MB / 0.6085 GB, free: 1.512 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003166/0.6524, allocations: 192.3 kB / 0.6087 GB, free: 1.285 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.347/3, allocations: 0 / 0.6087 GB, free: 1.285 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.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_overall_res.mat does not exist to compare? outputFormat=mat