Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.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.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_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.001442/0.001441, allocations: 177.8 kB / 8.36 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.125/2.125, 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.001113/0.001113, allocations: 85.31 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.3047/0.3047, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.567e-05/2.551e-05, allocations: 0 / 418.3 MB, free: 40.92 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4251, allocations: 58.85 MB / 477.2 MB, free: 5.18 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1685/0.5937, allocations: 88.14 MB / 0.5521 GB, free: 11.06 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004134/0.5942, allocations: 95.2 kB / 0.5522 GB, free: 10.97 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02862/0.6229, allocations: 5.743 MB / 0.5578 GB, free: 5.195 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6229, allocations: 3.938 kB / 0.5578 GB, free: 5.191 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.6229, allocations: 0 / 0.5578 GB, free: 5.191 MB / 395.1 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.0008262/0.6238, allocations: 430.6 kB / 0.5582 GB, free: 4.727 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.6239, allocations: 8.031 kB / 0.5582 GB, free: 4.719 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.6252, allocations: 107.6 kB / 0.5583 GB, free: 4.613 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004707/0.6257, allocations: 222.7 kB / 0.5585 GB, free: 4.355 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.6257, allocations: 4 kB / 0.5585 GB, free: 4.352 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.6258, allocations: 8 kB / 0.5585 GB, free: 4.344 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007828/0.6266, allocations: 252.1 kB / 0.5588 GB, free: 4.094 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006164/0.6272, allocations: 256 kB / 0.559 GB, free: 3.832 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.6273, allocations: 0 / 0.559 GB, free: 3.832 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.6273, allocations: 0 / 0.559 GB, free: 3.832 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-05/0.6274, allocations: 15.98 kB / 0.559 GB, free: 3.816 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.6297, allocations: 0.6737 MB / 0.5597 GB, free: 3.102 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006846/0.6304, allocations: 246.3 kB / 0.5599 GB, free: 2.852 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.6307, allocations: 96.81 kB / 0.56 GB, free: 2.754 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.6308, allocations: 7.984 kB / 0.56 GB, free: 2.746 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.6308, allocations: 34.5 kB / 0.5601 GB, free: 2.703 MB / 395.1 MB Notification: Performance of pre-optimization done (n=13): time 3.316e-06/0.6308, allocations: 0 / 0.5601 GB, free: 2.703 MB / 395.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007246/0.6315, allocations: 221.6 kB / 0.5603 GB, free: 2.48 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.6316, allocations: 55.41 kB / 0.5603 GB, free: 2.414 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.6318, allocations: 138.7 kB / 0.5605 GB, free: 2.27 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.6319, allocations: 25.7 kB / 0.5605 GB, free: 2.238 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.632, allocations: 194.5 kB / 0.5607 GB, free: 2.047 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.312e-05/0.6321, allocations: 39.39 kB / 0.5607 GB, free: 2.008 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.6321, allocations: 0 / 0.5607 GB, free: 2.008 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.6323, allocations: 326.8 kB / 0.561 GB, free: 1.68 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.6325, allocations: 79.91 kB / 0.5611 GB, free: 1.602 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.6328, allocations: 111.3 kB / 0.5612 GB, free: 1.48 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.6331, allocations: 107.8 kB / 0.5613 GB, free: 1.375 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6331, allocations: 0 / 0.5613 GB, free: 1.375 MB / 395.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007208/0.6339, allocations: 245.3 kB / 0.5615 GB, free: 1.129 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.6339, allocations: 6.969 kB / 0.5615 GB, free: 1.125 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.6339, allocations: 7.984 kB / 0.5616 GB, free: 1.117 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.634, allocations: 3.984 kB / 0.5616 GB, free: 1.113 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03663/0.6706, allocations: 0.928 MB / 0.5625 GB, free: 188 kB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03729/0.7079, allocations: 9.659 MB / 0.5719 GB, free: 5.828 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000677/0.7086, allocations: 27.84 kB / 0.5719 GB, free: 5.801 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/0.7087, allocations: 15.97 kB / 0.5719 GB, free: 5.785 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001562/0.7089, allocations: 117 kB / 0.572 GB, free: 5.664 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006329/0.7095, allocations: 213.4 kB / 0.5723 GB, free: 5.449 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/0.7096, allocations: 15.81 kB / 0.5723 GB, free: 5.434 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.014/0.7236, allocations: 0.6289 MB / 0.5729 GB, free: 4.785 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.7237, allocations: 7.969 kB / 0.5729 GB, free: 4.777 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.7237, allocations: 4 kB / 0.5729 GB, free: 4.773 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.7237, allocations: 0 / 0.5729 GB, free: 4.773 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005325/0.7243, allocations: 241.9 kB / 0.5731 GB, free: 4.5 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.7243, allocations: 3.984 kB / 0.5731 GB, free: 4.496 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004823/0.7248, allocations: 39.91 kB / 0.5732 GB, free: 4.457 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01594/0.7407, allocations: 473.8 kB / 0.5736 GB, free: 3.984 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-05/0.7409, allocations: 15.97 kB / 0.5736 GB, free: 3.969 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0233/0.7642, allocations: 9.097 MB / 0.5825 GB, free: 10.17 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.7642, allocations: 0 / 0.5825 GB, free: 10.17 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01385/0.7781, allocations: 0.673 MB / 0.5832 GB, free: 9.473 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.7783, allocations: 92.86 kB / 0.5833 GB, free: 9.363 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.386e-05/0.7784, allocations: 8 kB / 0.5833 GB, free: 9.355 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005364/0.7789, allocations: 7.984 kB / 0.5833 GB, free: 9.348 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002341/0.7792, allocations: 43.91 kB / 0.5833 GB, free: 9.305 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.163e-05/0.7792, allocations: 11.97 kB / 0.5833 GB, free: 9.293 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.7794, allocations: 116.6 kB / 0.5834 GB, free: 9.18 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7794, allocations: 0 / 0.5834 GB, free: 9.18 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0009527/0.7804, allocations: 91.91 kB / 0.5835 GB, free: 9.09 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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01435/0.7947, allocations: 1.236 MB / 0.5847 GB, free: 7.824 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.02587/0.8206, allocations: 0.7372 MB / 0.5855 GB, free: 7.086 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.8207, allocations: 0 / 0.5855 GB, free: 7.086 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003697/0.8244, allocations: 0.501 MB / 0.5859 GB, free: 6.555 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.8248, allocations: 20.36 kB / 0.586 GB, free: 6.535 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00532/0.8302, allocations: 0.5783 MB / 0.5865 GB, free: 5.91 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.8306, allocations: 0.7475 MB / 0.5873 GB, free: 5.137 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.8308, allocations: 43.42 kB / 0.5873 GB, free: 5.094 MB / 427.1 MB Notification: Performance of SimCode: time 1.072e-06/0.8308, allocations: 0 / 0.5873 GB, free: 5.094 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.114/3.945, allocations: 7.568 MB / 0.5947 GB, free: 13.53 MB / 443.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.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.Plate.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat