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.001553/0.001553, allocations: 182.1 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.083/2.083, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001145/0.001145, allocations: 86.72 kB / 267.5 MB, free: 14.04 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.2974/0.2974, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.399e-05/3.421e-05, allocations: 4 kB / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1281, allocations: 58.85 MB / 484.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5097/0.6379, allocations: 88.8 MB / 0.5596 GB, free: 14.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003833/0.6383, allocations: 97.12 kB / 0.5597 GB, free: 14.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02877/0.6671, allocations: 5.789 MB / 0.5654 GB, free: 9.711 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6672, allocations: 0 / 0.5654 GB, free: 9.711 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.6672, allocations: 8 kB / 0.5654 GB, free: 9.703 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.0007709/0.668, allocations: 430.3 kB / 0.5658 GB, free: 9.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/0.668, allocations: 16.02 kB / 0.5658 GB, free: 9.234 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.16e-05/0.6681, allocations: 41.69 kB / 0.5658 GB, free: 9.191 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.6695, allocations: 106.5 kB / 0.566 GB, free: 9.094 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.6699, allocations: 229.1 kB / 0.5662 GB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.6699, allocations: 7.688 kB / 0.5662 GB, free: 8.832 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.424e-05/0.67, allocations: 11.56 kB / 0.5662 GB, free: 8.824 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007092/0.6707, allocations: 277.1 kB / 0.5665 GB, free: 8.586 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.6707, allocations: 0 / 0.5665 GB, free: 8.586 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.593e-05/0.6708, allocations: 3.75 kB / 0.5665 GB, free: 8.586 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.824e-05/0.6708, allocations: 15.98 kB / 0.5665 GB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007721/0.6716, allocations: 280.5 kB / 0.5667 GB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002577/0.6742, allocations: 0.7301 MB / 0.5675 GB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007957/0.6751, allocations: 260.2 kB / 0.5677 GB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.6754, allocations: 85.39 kB / 0.5678 GB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-05/0.6755, allocations: 4 kB / 0.5678 GB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.6755, allocations: 46.05 kB / 0.5678 GB, free: 7.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.936e-06/0.6755, allocations: 0 / 0.5678 GB, free: 7.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008261/0.6763, allocations: 227.4 kB / 0.568 GB, free: 7.059 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.6764, allocations: 62.78 kB / 0.5681 GB, free: 6.988 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003492/0.6768, allocations: 201.6 kB / 0.5683 GB, free: 6.809 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.6768, allocations: 25.7 kB / 0.5683 GB, free: 6.777 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.677, allocations: 183.9 kB / 0.5685 GB, free: 6.609 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.195e-05/0.6771, allocations: 49.45 kB / 0.5685 GB, free: 6.566 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.6771, allocations: 3.25 kB / 0.5685 GB, free: 6.566 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.6773, allocations: 317.9 kB / 0.5689 GB, free: 6.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.6776, allocations: 86.45 kB / 0.5689 GB, free: 6.172 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.6779, allocations: 126.3 kB / 0.5691 GB, free: 6.051 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/0.6783, allocations: 98.25 kB / 0.5691 GB, free: 5.965 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.6783, allocations: 4 kB / 0.5692 GB, free: 5.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008037/0.6791, allocations: 260.5 kB / 0.5694 GB, free: 5.723 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.6792, allocations: 4 kB / 0.5694 GB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.6792, allocations: 8.094 kB / 0.5694 GB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.6792, allocations: 3.984 kB / 0.5694 GB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03749/0.7167, allocations: 0.9312 MB / 0.5703 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03982/0.7566, allocations: 10.04 MB / 0.5801 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007311/0.7574, allocations: 23.83 kB / 0.5802 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.926e-05/0.7575, allocations: 15.91 kB / 0.5802 GB, free: 10.13 MB / 394.7 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.0001591/0.7576, allocations: 112.8 kB / 0.5803 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.262e-05/0.7577, allocations: 19.77 kB / 0.5803 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/0.7719, allocations: 0.6443 MB / 0.5809 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.772, allocations: 3.938 kB / 0.5809 GB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.772, allocations: 0 / 0.5809 GB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.7721, allocations: 0 / 0.5809 GB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006437/0.7727, allocations: 285.8 kB / 0.5812 GB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.7727, allocations: 0 / 0.5812 GB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005046/0.7732, allocations: 39.91 kB / 0.5812 GB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01628/0.7895, allocations: 473 kB / 0.5817 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.903e-05/0.7897, allocations: 15.47 kB / 0.5817 GB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02532/0.815, allocations: 9.498 MB / 0.591 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.8151, allocations: 0 / 0.591 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/0.8292, allocations: 0.6928 MB / 0.5917 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.8294, allocations: 100.8 kB / 0.5918 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.507e-05/0.8295, allocations: 0 / 0.5918 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005656/0.8301, allocations: 15.86 kB / 0.5918 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002352/0.8303, allocations: 39.34 kB / 0.5918 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/0.8304, allocations: 15.98 kB / 0.5918 GB, free: 13.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002655/0.8307, allocations: 175.9 kB / 0.592 GB, free: 13.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.42e-07/0.8307, allocations: 3.938 kB / 0.592 GB, free: 13.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008658/0.8316, allocations: 94.81 kB / 0.5921 GB, free: 13.43 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 () * 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.01465/0.8462, allocations: 1.242 MB / 0.5933 GB, free: 12.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.02628/0.8726, allocations: 0.7446 MB / 0.594 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.8726, allocations: 0 / 0.594 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003805/0.8764, allocations: 0.5152 MB / 0.5945 GB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.877, allocations: 40 kB / 0.5946 GB, free: 10.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005622/0.8826, allocations: 0.5992 MB / 0.5951 GB, free: 10.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.8831, allocations: 0.7476 MB / 0.5959 GB, free: 9.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.8832, allocations: 44.23 kB / 0.5959 GB, free: 9.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.523e-06/0.8833, allocations: 0 / 0.5959 GB, free: 9.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.955/3.838, allocations: 7.968 MB / 0.6037 GB, free: 1.547 MB / 410.7 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