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.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_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_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.001737/0.001737, allocations: 182.7 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.563/1.563, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008098/0.0008098, allocations: 82.5 kB / 267 MB, free: 9.285 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.4102/0.4102, allocations: 43.46 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.775e-05/4.778e-05, allocations: 4 kB / 425.4 MB, free: 8.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1379, allocations: 58.85 MB / 484.3 MB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4118/0.5498, allocations: 92.83 MB / 0.5636 GB, free: 12.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.5501, allocations: 98.73 kB / 0.5637 GB, free: 12.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02532/0.5755, allocations: 10.66 MB / 0.5741 GB, free: 3.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.5755, allocations: 0 / 0.5741 GB, free: 3.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.5755, allocations: 4 kB / 0.5741 GB, free: 3.316 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0008306/0.5764, allocations: 0.6217 MB / 0.5747 GB, free: 2.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.5764, allocations: 12.03 kB / 0.5747 GB, free: 2.668 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.366e-05/0.5765, allocations: 86.08 kB / 0.5748 GB, free: 2.602 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.143e-05/0.5766, allocations: 47.44 kB / 0.5748 GB, free: 2.555 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.577, allocations: 288.2 kB / 0.5751 GB, free: 2.246 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.577, allocations: 29.38 kB / 0.5752 GB, free: 2.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.7e-05/0.5771, allocations: 35.19 kB / 0.5752 GB, free: 2.207 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007878/0.5779, allocations: 0.536 MB / 0.5757 GB, free: 1.789 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.5779, allocations: 5.312 kB / 0.5757 GB, free: 1.785 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.578, allocations: 17.62 kB / 0.5757 GB, free: 1.781 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/0.578, allocations: 24.78 kB / 0.5758 GB, free: 1.754 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004384/0.5785, allocations: 363.8 kB / 0.5761 GB, free: 1.484 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.5801, allocations: 1.406 MB / 0.5775 GB, free: 184 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000356/0.5805, allocations: 240.2 kB / 0.5777 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.5806, allocations: 105.2 kB / 0.5778 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.477e-05/0.5807, allocations: 11.88 kB / 0.5778 GB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.5807, allocations: 38.5 kB / 0.5779 GB, free: 15.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.853e-06/0.5807, allocations: 0 / 0.5779 GB, free: 15.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.000606/0.5814, allocations: 284.5 kB / 0.5781 GB, free: 15.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.5814, allocations: 106.8 kB / 0.5782 GB, free: 15.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.582, allocations: 456.9 kB / 0.5787 GB, free: 15.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.582, allocations: 33.45 kB / 0.5787 GB, free: 15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.5822, allocations: 200.1 kB / 0.5789 GB, free: 14.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.466e-05/0.5822, allocations: 65.95 kB / 0.5789 GB, free: 14.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.47e-05/0.5822, allocations: 0 / 0.5789 GB, free: 14.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5824, allocations: 352.5 kB / 0.5793 GB, free: 14.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.5826, allocations: 98.98 kB / 0.5794 GB, free: 14.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.5828, allocations: 144.6 kB / 0.5795 GB, free: 14.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.583, allocations: 114.5 kB / 0.5796 GB, free: 14.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.583, allocations: 0 / 0.5796 GB, free: 14.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005306/0.5835, allocations: 326.1 kB / 0.5799 GB, free: 13.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.5836, allocations: 4 kB / 0.5799 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.506e-05/0.5836, allocations: 27.97 kB / 0.58 GB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.5837, allocations: 4 kB / 0.58 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.5839, allocations: 43.92 kB / 0.58 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.5839, allocations: 5.094 kB / 0.58 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.5842, allocations: 67.44 kB / 0.5801 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.5842, allocations: 12 kB / 0.5801 GB, free: 13.68 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 8.668e-05/0.5843, allocations: 115.2 kB / 0.5802 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.715e-05/0.5844, allocations: 43.52 kB / 0.5802 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000654/0.5851, allocations: 360.3 kB / 0.5806 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.5851, allocations: 8 kB / 0.5806 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.5851, allocations: 7.938 kB / 0.5806 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5851, allocations: 0 / 0.5806 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005489/0.5857, allocations: 363.1 kB / 0.5809 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.309e-05/0.5858, allocations: 27.97 kB / 0.581 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.586, allocations: 31.97 kB / 0.581 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.586, allocations: 0 / 0.581 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.586, allocations: 15.31 kB / 0.581 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.586, allocations: 3.984 kB / 0.581 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.586, allocations: 3.938 kB / 0.581 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006814/0.5867, allocations: 0.5364 MB / 0.5816 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.5869, allocations: 136.4 kB / 0.5817 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.343e-05/0.587, allocations: 3.953 kB / 0.5817 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.5874, allocations: 27.34 kB / 0.5817 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.269e-05/0.5875, allocations: 23.59 kB / 0.5817 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.5875, allocations: 8 kB / 0.5817 GB, free: 12.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004426/0.5879, allocations: 365.1 kB / 0.5821 GB, free: 11.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.588, allocations: 4 kB / 0.5821 GB, free: 11.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006195/0.5886, allocations: 117 kB / 0.5822 GB, free: 11.61 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.001345/0.5899, allocations: 1.31 MB / 0.5835 GB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006768/0.5906, allocations: 465.3 kB / 0.5839 GB, free: 9.816 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5906, allocations: 0 / 0.5839 GB, free: 9.816 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003759/0.591, allocations: 359.2 kB / 0.5843 GB, free: 9.426 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005822/0.5916, allocations: 94.19 kB / 0.5844 GB, free: 9.359 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.5934, allocations: 0.733 MB / 0.5851 GB, free: 8.637 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.5939, allocations: 0.8553 MB / 0.5859 GB, free: 7.766 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001635/0.5941, allocations: 63.23 kB / 0.586 GB, free: 7.699 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.5942, allocations: 109.5 kB / 0.5861 GB, free: 7.66 MB / 410.7 MB Notification: Performance of SimCode: time 4.1e-07/0.5942, allocations: 0 / 0.5861 GB, free: 7.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.6186, allocations: 10.81 MB / 0.5966 GB, free: 12.94 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.6188, allocations: 190.6 kB / 0.5968 GB, free: 12.72 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.31/2.929, allocations: 4.062 kB / 0.5968 GB, free: 12.71 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat