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.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,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",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.001513/0.001513, allocations: 181.6 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.306/2.306, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001095/0.001095, allocations: 94.62 kB / 267.5 MB, free: 14.11 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.2973/0.2973, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.414e-05/3.438e-05, allocations: 4 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.151, allocations: 58.85 MB / 484.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.517/0.6681, allocations: 92.44 MB / 0.5632 GB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003798/0.6685, allocations: 95.66 kB / 0.5633 GB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04378/0.7123, allocations: 9.11 MB / 0.5722 GB, free: 2.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.7123, allocations: 0 / 0.5722 GB, free: 2.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.7124, allocations: 4 kB / 0.5722 GB, free: 2.836 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.001187/0.7136, allocations: 0.4939 MB / 0.5727 GB, free: 2.309 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.7136, allocations: 15.97 kB / 0.5727 GB, free: 2.293 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.652e-05/0.7137, allocations: 49.23 kB / 0.5727 GB, free: 2.242 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.658e-05/0.7138, allocations: 19.72 kB / 0.5727 GB, free: 2.223 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.7142, allocations: 218 kB / 0.5729 GB, free: 1.977 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.7142, allocations: 7.672 kB / 0.573 GB, free: 1.973 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/0.7143, allocations: 15.42 kB / 0.573 GB, free: 1.961 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005813/0.7148, allocations: 240.1 kB / 0.5732 GB, free: 1.746 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.7149, allocations: 0 / 0.5732 GB, free: 1.746 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.7149, allocations: 6.875 kB / 0.5732 GB, free: 1.742 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.292e-05/0.715, allocations: 12.23 kB / 0.5732 GB, free: 1.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004932/0.7155, allocations: 166.6 kB / 0.5734 GB, free: 1.598 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.7172, allocations: 0.8221 MB / 0.5742 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.7176, allocations: 157.8 kB / 0.5743 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.7178, allocations: 80.59 kB / 0.5744 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.845e-05/0.7179, allocations: 7.922 kB / 0.5744 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.7179, allocations: 42.67 kB / 0.5745 GB, free: 488 kB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 2.305e-06/0.718, allocations: 0 / 0.5745 GB, free: 488 kB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.000632/0.7186, allocations: 179.3 kB / 0.5746 GB, free: 320 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.7187, allocations: 102.8 kB / 0.5747 GB, free: 192 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003938/0.7191, allocations: 241.6 kB / 0.575 GB, free: 15.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.7191, allocations: 25.7 kB / 0.575 GB, free: 15.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.7193, allocations: 185.9 kB / 0.5752 GB, free: 15.78 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/0.7193, allocations: 34.7 kB / 0.5752 GB, free: 15.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/0.7194, allocations: 3.344 kB / 0.5752 GB, free: 15.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.7195, allocations: 326.3 kB / 0.5755 GB, free: 15.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.7197, allocations: 58.89 kB / 0.5756 GB, free: 15.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.72, allocations: 110.1 kB / 0.5757 GB, free: 15.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.7203, allocations: 74.92 kB / 0.5757 GB, free: 15.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.7203, allocations: 0 / 0.5757 GB, free: 15.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000623/0.7209, allocations: 210.4 kB / 0.5759 GB, free: 15.01 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.721, allocations: 4 kB / 0.5759 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.106e-05/0.721, allocations: 8 kB / 0.5759 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.7211, allocations: 0 / 0.5759 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/0.7216, allocations: 55.45 kB / 0.576 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/0.7216, allocations: 11.89 kB / 0.576 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004295/0.722, allocations: 47.81 kB / 0.5761 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.7221, allocations: 4 kB / 0.5761 GB, free: 14.88 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 () * 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.0001192/0.7222, allocations: 111.9 kB / 0.5762 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.7223, allocations: 15.81 kB / 0.5762 GB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000607/0.7229, allocations: 195.5 kB / 0.5764 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.723, allocations: 0 / 0.5764 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.723, allocations: 4 kB / 0.5764 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.723, allocations: 11.94 kB / 0.5764 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000563/0.7236, allocations: 254.2 kB / 0.5766 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.342e-05/0.7236, allocations: 11.98 kB / 0.5766 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/0.724, allocations: 35.95 kB / 0.5767 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.724, allocations: 3.938 kB / 0.5767 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.7241, allocations: 8.078 kB / 0.5767 GB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.7241, allocations: 3.938 kB / 0.5767 GB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.7241, allocations: 8 kB / 0.5767 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006649/0.7248, allocations: 444.7 kB / 0.5771 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.7249, allocations: 100.8 kB / 0.5772 GB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.514e-05/0.725, allocations: 7.062 kB / 0.5772 GB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/0.7254, allocations: 31.92 kB / 0.5773 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.156e-05/0.7255, allocations: 15.3 kB / 0.5773 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.7256, allocations: 7.984 kB / 0.5773 GB, free: 13.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000297/0.7259, allocations: 184.3 kB / 0.5774 GB, free: 13.46 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7259, allocations: 0 / 0.5774 GB, free: 13.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007147/0.7266, allocations: 103 kB / 0.5775 GB, free: 13.37 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 () * 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.001446/0.7281, allocations: 1.228 MB / 0.5787 GB, free: 12.13 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005851/0.7287, allocations: 233.2 kB / 0.579 GB, free: 11.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.7287, allocations: 0 / 0.579 GB, free: 11.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000346/0.7291, allocations: 151.6 kB / 0.5791 GB, free: 11.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005323/0.7296, allocations: 41.91 kB / 0.5792 GB, free: 11.72 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.7312, allocations: 426.8 kB / 0.5796 GB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.7317, allocations: 0.7469 MB / 0.5803 GB, free: 10.51 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.7319, allocations: 57.34 kB / 0.5803 GB, free: 10.48 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.7319, allocations: 0 / 0.5803 GB, free: 10.48 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.619/3.351, allocations: 4.892 MB / 0.5851 GB, free: 5.609 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.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_res.mat does not exist to compare? outputFormat=mat