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_overall_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_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_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.002476/0.002475, allocations: 186.2 kB / 16.41 MB, free: 5.723 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.182/2.182, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001156/0.001156, allocations: 85.8 kB / 270.9 MB, free: 8.391 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.5199/0.5199, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005091/0.0005093, allocations: 15.98 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1411, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4851/0.6263, allocations: 90.65 MB / 0.5674 GB, free: 11.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004062/0.6268, allocations: 95.94 kB / 0.5675 GB, free: 11.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.037/0.6638, allocations: 7.706 MB / 0.575 GB, free: 4.086 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.418e-06/0.6638, allocations: 0 / 0.575 GB, free: 4.086 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.714e-05/0.6639, allocations: 7.938 kB / 0.575 GB, free: 4.078 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008799/0.6647, allocations: 466.4 kB / 0.5754 GB, free: 3.578 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.6648, allocations: 8.562 kB / 0.5755 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.637e-05/0.6649, allocations: 54.53 kB / 0.5755 GB, free: 3.508 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003427/0.6683, allocations: 202.9 kB / 0.5757 GB, free: 3.312 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.6687, allocations: 233.5 kB / 0.5759 GB, free: 3.047 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.6688, allocations: 7.984 kB / 0.5759 GB, free: 3.039 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-05/0.6688, allocations: 12 kB / 0.5759 GB, free: 3.027 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009781/0.6698, allocations: 358.8 kB / 0.5763 GB, free: 2.664 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.6699, allocations: 4 kB / 0.5763 GB, free: 2.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.678e-05/0.6699, allocations: 8 kB / 0.5763 GB, free: 2.652 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.546e-05/0.67, allocations: 15.98 kB / 0.5763 GB, free: 2.637 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.6712, allocations: 395.5 kB / 0.5767 GB, free: 2.254 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002621/0.6739, allocations: 0.779 MB / 0.5774 GB, free: 1.426 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.675, allocations: 362 kB / 0.5778 GB, free: 1.062 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.389e-05/0.6751, allocations: 4.031 kB / 0.5778 GB, free: 1.059 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.6751, allocations: 30.56 kB / 0.5778 GB, free: 1.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 2.685e-06/0.6751, allocations: 4 kB / 0.5778 GB, free: 1.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.001762/0.6769, allocations: 441.2 kB / 0.5783 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.677, allocations: 55.41 kB / 0.5783 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/0.6774, allocations: 206.3 kB / 0.5785 GB, free: 308 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/0.6774, allocations: 37.64 kB / 0.5785 GB, free: 264 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.6776, allocations: 176.5 kB / 0.5787 GB, free: 88 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.716e-05/0.6777, allocations: 59.22 kB / 0.5788 GB, free: 28 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.6777, allocations: 0 / 0.5788 GB, free: 28 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.6779, allocations: 322.8 kB / 0.5791 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000493/0.6784, allocations: 127.8 kB / 0.5792 GB, free: 15.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005064/0.6789, allocations: 155.3 kB / 0.5793 GB, free: 15.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005864/0.6795, allocations: 143.8 kB / 0.5795 GB, free: 15.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.6795, allocations: 4 kB / 0.5795 GB, free: 15.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001412/0.681, allocations: 349.2 kB / 0.5798 GB, free: 14.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.681, allocations: 4 kB / 0.5798 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.681, allocations: 4.797 kB / 0.5798 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.6811, allocations: 8.094 kB / 0.5798 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05379/0.7349, allocations: 1.505 MB / 0.5813 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04649/0.7814, allocations: 10.69 MB / 0.5917 GB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000714/0.7822, allocations: 31.83 kB / 0.5918 GB, free: 1.875 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.477e-05/0.7823, allocations: 20.03 kB / 0.5918 GB, free: 1.855 MB / 410.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 () * Number of clocked 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.000245/0.7825, allocations: 133.8 kB / 0.5919 GB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.994e-05/0.7826, allocations: 19.91 kB / 0.5919 GB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.7828, allocations: 33.47 kB / 0.592 GB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.7828, allocations: 4 kB / 0.592 GB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.7828, allocations: 0 / 0.592 GB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.7828, allocations: 0 / 0.592 GB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005665/0.7834, allocations: 289.3 kB / 0.5922 GB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.7834, allocations: 3.984 kB / 0.5922 GB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.05354/0.8369, allocations: 1.509 MB / 0.5937 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/0.837, allocations: 0 / 0.5937 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.742e-05/0.8371, allocations: 11.97 kB / 0.5937 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04635/0.8835, allocations: 10.68 MB / 0.6042 GB, free: 4.324 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.8835, allocations: 7.938 kB / 0.6042 GB, free: 4.316 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.8848, allocations: 424.1 kB / 0.6046 GB, free: 3.887 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.885, allocations: 96.84 kB / 0.6047 GB, free: 3.773 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.57e-05/0.8851, allocations: 12.06 kB / 0.6047 GB, free: 3.762 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006267/0.8857, allocations: 11.98 kB / 0.6047 GB, free: 3.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000286/0.886, allocations: 47.89 kB / 0.6047 GB, free: 3.703 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.893e-05/0.886, allocations: 11.97 kB / 0.6047 GB, free: 3.691 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000278/0.8863, allocations: 176.1 kB / 0.6049 GB, free: 3.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.8864, allocations: 0 / 0.6049 GB, free: 3.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009863/0.8873, allocations: 104 kB / 0.605 GB, free: 3.418 MB / 426.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 () * Number of clocked 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): 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 Backend phase and start with SimCode phase: time 0.001816/0.8892, allocations: 0.9892 MB / 0.606 GB, free: 2.402 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.04231/0.9315, allocations: 1.315 MB / 0.6073 GB, free: 1.086 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/0.9316, allocations: 0 / 0.6073 GB, free: 1.086 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04179/0.9734, allocations: 1.172 MB / 0.6084 GB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.9739, allocations: 36.16 kB / 0.6084 GB, free: 15.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009342/0.9833, allocations: 2.126 MB / 0.6105 GB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.9838, allocations: 0.7359 MB / 0.6112 GB, free: 12.92 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.984, allocations: 47.42 kB / 0.6113 GB, free: 12.88 MB / 442.7 MB Notification: Performance of SimCode: time 1.213e-06/0.984, allocations: 3.938 kB / 0.6113 GB, free: 12.87 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.234/4.218, allocations: 7.341 MB / 0.6185 GB, free: 5.547 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_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_overall_KC_res.mat does not exist to compare? outputFormat=mat