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.001652/0.001652, allocations: 181.3 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.081/2.081, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001134/0.001134, allocations: 86.64 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.2962/0.2962, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.793e-05/3.812e-05, allocations: 4 kB / 425.4 MB, free: 23.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1324, allocations: 58.85 MB / 484.3 MB, free: 12.33 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.507/0.6394, allocations: 90.56 MB / 0.5614 GB, free: 12.92 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003731/0.6399, allocations: 96.06 kB / 0.5614 GB, free: 12.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03786/0.6778, allocations: 7.716 MB / 0.569 GB, free: 6.297 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6778, allocations: 0 / 0.569 GB, free: 6.297 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.6778, allocations: 0 / 0.569 GB, free: 6.297 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.0008641/0.6787, allocations: 449.5 kB / 0.5694 GB, free: 5.824 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.6788, allocations: 8.031 kB / 0.5694 GB, free: 5.816 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.136e-05/0.6789, allocations: 45.48 kB / 0.5695 GB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003499/0.6824, allocations: 190.5 kB / 0.5696 GB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004877/0.6829, allocations: 241.1 kB / 0.5699 GB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.683, allocations: 11.8 kB / 0.5699 GB, free: 5.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.98e-05/0.683, allocations: 11.38 kB / 0.5699 GB, free: 5.312 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008507/0.6839, allocations: 333.7 kB / 0.5702 GB, free: 5.031 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.6839, allocations: 0 / 0.5702 GB, free: 5.031 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/0.684, allocations: 0 / 0.5702 GB, free: 5.031 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.952e-05/0.684, allocations: 15.69 kB / 0.5702 GB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009895/0.685, allocations: 359.3 kB / 0.5706 GB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002847/0.6879, allocations: 0.8029 MB / 0.5714 GB, free: 3.957 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.689, allocations: 332.4 kB / 0.5717 GB, free: 3.652 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/0.6893, allocations: 116.2 kB / 0.5718 GB, free: 3.547 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.932e-05/0.6894, allocations: 7.984 kB / 0.5718 GB, free: 3.539 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.6894, allocations: 34 kB / 0.5718 GB, free: 3.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.515e-06/0.6895, allocations: 4 kB / 0.5718 GB, free: 3.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.001048/0.6905, allocations: 286.3 kB / 0.5721 GB, free: 3.234 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.6906, allocations: 51.41 kB / 0.5721 GB, free: 3.172 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.6909, allocations: 202.8 kB / 0.5723 GB, free: 2.992 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.923e-05/0.691, allocations: 29.7 kB / 0.5724 GB, free: 2.957 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.6911, allocations: 182.6 kB / 0.5725 GB, free: 2.789 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.518e-05/0.6912, allocations: 38.08 kB / 0.5726 GB, free: 2.758 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.6913, allocations: 7.25 kB / 0.5726 GB, free: 2.754 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.6914, allocations: 326.2 kB / 0.5729 GB, free: 2.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.6918, allocations: 105.1 kB / 0.573 GB, free: 2.336 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/0.6922, allocations: 150.3 kB / 0.5731 GB, free: 2.191 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.6926, allocations: 129.2 kB / 0.5733 GB, free: 2.074 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6927, allocations: 0 / 0.5733 GB, free: 2.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00102/0.6937, allocations: 318.9 kB / 0.5736 GB, free: 1.781 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.6937, allocations: 4 kB / 0.5736 GB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.6937, allocations: 0 / 0.5736 GB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.6938, allocations: 7.938 kB / 0.5736 GB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05601/0.7498, allocations: 1.511 MB / 0.5751 GB, free: 268 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04159/0.7915, allocations: 10.39 MB / 0.5852 GB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000734/0.7923, allocations: 31.38 kB / 0.5852 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/0.7923, allocations: 15.97 kB / 0.5852 GB, free: 5.32 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.0001658/0.7925, allocations: 111.2 kB / 0.5854 GB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.583e-05/0.7926, allocations: 23.27 kB / 0.5854 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.7928, allocations: 32.81 kB / 0.5854 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.7928, allocations: 3.984 kB / 0.5854 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.7928, allocations: 64 / 0.5854 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.7928, allocations: 8 kB / 0.5854 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005489/0.7934, allocations: 286.8 kB / 0.5857 GB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.7934, allocations: 0 / 0.5857 GB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.05577/0.8492, allocations: 1.501 MB / 0.5872 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.8492, allocations: 0 / 0.5872 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.8493, allocations: 15.92 kB / 0.5872 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04845/0.8978, allocations: 10.39 MB / 0.5973 GB, free: 8.453 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.8978, allocations: 0 / 0.5973 GB, free: 8.453 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.8989, allocations: 388.8 kB / 0.5977 GB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.899, allocations: 88.92 kB / 0.5978 GB, free: 7.977 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.921e-05/0.8991, allocations: 14.98 kB / 0.5978 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006427/0.8997, allocations: 16.08 kB / 0.5978 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002764/0.9, allocations: 47.58 kB / 0.5978 GB, free: 7.906 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.573e-05/0.9001, allocations: 15.47 kB / 0.5979 GB, free: 7.895 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002503/0.9004, allocations: 169.6 kB / 0.598 GB, free: 7.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.9004, allocations: 0 / 0.598 GB, free: 7.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009296/0.9013, allocations: 107 kB / 0.5981 GB, free: 7.656 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): 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.001488/0.9028, allocations: 0.9548 MB / 0.5991 GB, free: 6.703 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.04374/0.9466, allocations: 1.276 MB / 0.6003 GB, free: 5.449 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.914e-06/0.9466, allocations: 0 / 0.6003 GB, free: 5.449 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04332/0.99, allocations: 1.163 MB / 0.6014 GB, free: 4.301 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005204/0.9905, allocations: 33.28 kB / 0.6015 GB, free: 4.273 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006661/0.9972, allocations: 0.5784 MB / 0.602 GB, free: 3.684 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/0.9977, allocations: 0.7388 MB / 0.6028 GB, free: 2.922 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.9979, allocations: 41.23 kB / 0.6028 GB, free: 2.902 MB / 410.7 MB Notification: Performance of SimCode: time 1.623e-06/0.9979, allocations: 0 / 0.6028 GB, free: 2.902 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.193/4.191, allocations: 7.306 MB / 0.6099 GB, free: 11.61 MB / 426.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