Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.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.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_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.00116/0.001161, allocations: 182.8 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.729/1.729, 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.0008096/0.0008097, allocations: 98.86 kB / 270.2 MB, free: 13.36 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.2194/0.2194, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004224/0.0004224, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1404, allocations: 58.86 MB / 490.4 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3943/0.5347, allocations: 90.85 MB / 0.5676 GB, free: 8.898 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.535, allocations: 96 kB / 0.5677 GB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02254/0.5576, allocations: 7.627 MB / 0.5751 GB, free: 2.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5576, allocations: 4 kB / 0.5751 GB, free: 2.266 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.938e-05/0.5577, allocations: 4 kB / 0.5751 GB, free: 2.262 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001039/0.5587, allocations: 0.4962 MB / 0.5756 GB, free: 1.727 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.5588, allocations: 16.5 kB / 0.5756 GB, free: 1.711 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.676e-05/0.5589, allocations: 49.48 kB / 0.5757 GB, free: 1.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.947e-05/0.559, allocations: 20.28 kB / 0.5757 GB, free: 1.641 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.5593, allocations: 219.9 kB / 0.5759 GB, free: 1.391 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.5594, allocations: 7.297 kB / 0.5759 GB, free: 1.387 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.5594, allocations: 11.19 kB / 0.5759 GB, free: 1.379 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006065/0.56, allocations: 285.7 kB / 0.5762 GB, free: 1.121 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.56, allocations: 0 / 0.5762 GB, free: 1.121 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.5601, allocations: 3.875 kB / 0.5762 GB, free: 1.121 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/0.5601, allocations: 16.22 kB / 0.5762 GB, free: 1.105 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006511/0.5608, allocations: 256.4 kB / 0.5765 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.5622, allocations: 0.8242 MB / 0.5773 GB, free: 64 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/0.5626, allocations: 201.3 kB / 0.5775 GB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.778e-05/0.5627, allocations: 7.984 kB / 0.5775 GB, free: 15.85 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.5627, allocations: 34.31 kB / 0.5775 GB, free: 15.81 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.874e-06/0.5627, allocations: 0 / 0.5775 GB, free: 15.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.001109/0.5639, allocations: 353.4 kB / 0.5778 GB, free: 15.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.564, allocations: 106.8 kB / 0.5779 GB, free: 15.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.5643, allocations: 231.8 kB / 0.5782 GB, free: 15.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.5644, allocations: 32.95 kB / 0.5782 GB, free: 15.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.5645, allocations: 138 kB / 0.5783 GB, free: 15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.5645, allocations: 39.27 kB / 0.5784 GB, free: 14.97 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/0.5646, allocations: 3.938 kB / 0.5784 GB, free: 14.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.5647, allocations: 329.8 kB / 0.5787 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.565, allocations: 107.3 kB / 0.5788 GB, free: 14.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.5653, allocations: 140.2 kB / 0.5789 GB, free: 14.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.5656, allocations: 119.5 kB / 0.579 GB, free: 14.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5656, allocations: 0 / 0.579 GB, free: 14.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007083/0.5663, allocations: 311.5 kB / 0.5793 GB, free: 14.01 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.5664, allocations: 4 kB / 0.5793 GB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.183e-05/0.5664, allocations: 8 kB / 0.5793 GB, free: 14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.5664, allocations: 7.938 kB / 0.5794 GB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/0.5667, allocations: 51.98 kB / 0.5794 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.5668, allocations: 7.953 kB / 0.5794 GB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.567, allocations: 39.75 kB / 0.5795 GB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.5671, allocations: 11.81 kB / 0.5795 GB, free: 13.89 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001471/0.5672, allocations: 145 kB / 0.5796 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.692e-05/0.5673, allocations: 19.81 kB / 0.5796 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004936/0.5678, allocations: 225.3 kB / 0.5798 GB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.5678, allocations: 4 kB / 0.5798 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.5678, allocations: 4 kB / 0.5798 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.5679, allocations: 7.938 kB / 0.5798 GB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.5683, allocations: 252.2 kB / 0.5801 GB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/0.5684, allocations: 7.984 kB / 0.5801 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.5686, allocations: 35.91 kB / 0.5801 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.5686, allocations: 4 kB / 0.5801 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.5686, allocations: 7.984 kB / 0.5801 GB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.5686, allocations: 7.938 kB / 0.5802 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.5686, allocations: 0 / 0.5802 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007012/0.5693, allocations: 0.5158 MB / 0.5807 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.697e-05/0.5694, allocations: 104.8 kB / 0.5808 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.5695, allocations: 3.984 kB / 0.5808 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.5698, allocations: 27.88 kB / 0.5808 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/0.5698, allocations: 11.98 kB / 0.5808 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.5699, allocations: 7.984 kB / 0.5808 GB, free: 12.49 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002026/0.5701, allocations: 195.4 kB / 0.581 GB, free: 12.33 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5701, allocations: 7.938 kB / 0.581 GB, free: 12.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004778/0.5706, allocations: 71.66 kB / 0.5811 GB, free: 12.25 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001514/0.5721, allocations: 1.255 MB / 0.5823 GB, free: 11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007297/0.5728, allocations: 315.5 kB / 0.5826 GB, free: 10.69 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5729, allocations: 0 / 0.5826 GB, free: 10.69 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000357/0.5732, allocations: 192.6 kB / 0.5828 GB, free: 10.49 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.5736, allocations: 44.19 kB / 0.5828 GB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00313/0.5768, allocations: 2.249 MB / 0.585 GB, free: 8.316 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.5772, allocations: 0.7555 MB / 0.5858 GB, free: 7.539 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00014/0.5773, allocations: 33.53 kB / 0.5858 GB, free: 7.508 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.928e-05/0.5774, allocations: 54.16 kB / 0.5858 GB, free: 7.484 MB / 394.7 MB Notification: Performance of SimCode: time 1.683e-06/0.5774, allocations: 4.375 kB / 0.5858 GB, free: 7.48 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.598, allocations: 5.409 MB / 0.5911 GB, free: 2.145 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/0.5982, allocations: 218.3 kB / 0.5913 GB, free: 1.898 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2.415, allocations: 0 / 0.5913 GB, free: 1.898 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.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.Plate.kc_turbulent_res.mat does not exist to compare? outputFormat=mat