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.001623/0.001623, allocations: 182.5 kB / 16.4 MB, free: 5.75 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.109/2.109, allocations: 205.4 MB / 222.5 MB, free: 9.102 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.001163/0.001163, allocations: 90.92 kB / 270.9 MB, free: 8.352 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.5563/0.5563, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005169/0.0005171, allocations: 16 kB / 431.5 MB, free: 6.035 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1568, allocations: 58.85 MB / 490.3 MB, free: 11.1 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.002521/0.1594, allocations: 1.352 MB / 491.7 MB, free: 9.738 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002462/0.1619, allocations: 1.096 MB / 492.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.43e-05/0.162, allocations: 3.938 kB / 492.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.1623, allocations: 31.88 kB / 492.8 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.1626, allocations: 35.88 kB / 492.9 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006659/0.1633, allocations: 159.5 kB / 493 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.1635, allocations: 87.8 kB / 493.1 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.002e-05/0.1636, allocations: 21.38 kB / 493.1 MB, free: 8.297 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.007e-05/0.1637, allocations: 35.86 kB / 493.2 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.1638, allocations: 59.75 kB / 493.2 MB, free: 8.203 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.1639, allocations: 4 kB / 493.2 MB, free: 8.199 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005406/0.1644, allocations: 163.8 kB / 493.4 MB, free: 8.039 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.037e-05/0.1645, allocations: 47.83 kB / 493.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.675e-05/0.1646, allocations: 45.64 kB / 493.5 MB, free: 7.941 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.165, allocations: 151.9 kB / 493.6 MB, free: 7.793 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.165, allocations: 3.938 kB / 493.6 MB, free: 7.789 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.165, allocations: 3.938 kB / 493.6 MB, free: 7.785 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.165, allocations: 0 / 493.6 MB, free: 7.785 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.0008975/0.1659, allocations: 454.7 kB / 494.1 MB, free: 7.293 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.166, allocations: 20.02 kB / 494.1 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.426e-05/0.1661, allocations: 42.56 kB / 494.1 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003055/0.1691, allocations: 195.5 kB / 494.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.1696, allocations: 230.4 kB / 494.5 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.1696, allocations: 8 kB / 494.6 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-05/0.1697, allocations: 15.98 kB / 494.6 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.1707, allocations: 363.7 kB / 494.9 MB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1707, allocations: 0 / 494.9 MB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.629e-05/0.1708, allocations: 4 kB / 494.9 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.092e-05/0.1709, allocations: 15.98 kB / 494.9 MB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.1721, allocations: 387.5 kB / 495.3 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00255/0.1746, allocations: 0.7852 MB / 496.1 MB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.1758, allocations: 346.1 kB / 496.4 MB, free: 4.793 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.271e-05/0.1759, allocations: 4.031 kB / 496.5 MB, free: 4.789 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.1759, allocations: 38.56 kB / 496.5 MB, free: 4.742 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.736e-06/0.1759, allocations: 0 / 496.5 MB, free: 4.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.001702/0.1776, allocations: 445.2 kB / 496.9 MB, free: 4.301 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.1777, allocations: 51.52 kB / 497 MB, free: 4.238 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.1781, allocations: 230.1 kB / 497.2 MB, free: 4.004 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/0.1781, allocations: 29.7 kB / 497.2 MB, free: 3.969 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.1783, allocations: 182.3 kB / 497.4 MB, free: 3.789 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.597e-05/0.1784, allocations: 51.34 kB / 497.5 MB, free: 3.738 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.1784, allocations: 0 / 497.5 MB, free: 3.738 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1786, allocations: 322.8 kB / 497.8 MB, free: 3.414 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004631/0.1791, allocations: 127.8 kB / 497.9 MB, free: 3.289 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/0.1796, allocations: 159.3 kB / 498.1 MB, free: 3.121 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005523/0.1801, allocations: 140.3 kB / 498.2 MB, free: 2.984 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1802, allocations: 0 / 498.2 MB, free: 2.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001245/0.1814, allocations: 357.2 kB / 498.5 MB, free: 2.629 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.1815, allocations: 4 kB / 498.5 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.1815, allocations: 0 / 498.5 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.1815, allocations: 4 kB / 498.5 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05247/0.234, allocations: 1.377 MB / 499.9 MB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3933/0.6274, allocations: 11.64 MB / 0.4996 GB, free: 35.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006012/0.628, allocations: 31.06 kB / 0.4996 GB, free: 35.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/0.6281, allocations: 20.97 kB / 0.4996 GB, free: 35.43 MB / 378.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.0002232/0.6283, allocations: 135.2 kB / 0.4997 GB, free: 35.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.778e-05/0.6284, allocations: 14.97 kB / 0.4998 GB, free: 35.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.6286, allocations: 35.31 kB / 0.4998 GB, free: 35.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.6286, allocations: 2.281 kB / 0.4998 GB, free: 35.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.6286, allocations: 0 / 0.4998 GB, free: 35.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.6286, allocations: 3.953 kB / 0.4998 GB, free: 35.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005088/0.6291, allocations: 284.1 kB / 0.5001 GB, free: 35.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6292, allocations: 0 / 0.5001 GB, free: 35.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0521/0.6813, allocations: 1.379 MB / 0.5014 GB, free: 35.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/0.6813, allocations: 0 / 0.5014 GB, free: 35.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.277e-05/0.6814, allocations: 13.41 kB / 0.5014 GB, free: 35.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07596/0.7574, allocations: 11.63 MB / 0.5128 GB, free: 26.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.7575, allocations: 0 / 0.5128 GB, free: 26.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.7586, allocations: 428.5 kB / 0.5132 GB, free: 26.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.326e-05/0.7587, allocations: 96.14 kB / 0.5133 GB, free: 26.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.532e-05/0.7588, allocations: 9.938 kB / 0.5133 GB, free: 26.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005439/0.7593, allocations: 9.875 kB / 0.5133 GB, free: 26.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003781/0.7597, allocations: 57.41 kB / 0.5134 GB, free: 26.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.042e-05/0.7598, allocations: 19.84 kB / 0.5134 GB, free: 26.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002128/0.76, allocations: 170.2 kB / 0.5135 GB, free: 26.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.76, allocations: 0 / 0.5135 GB, free: 26.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001149/0.7612, allocations: 116.3 kB / 0.5137 GB, free: 26.64 MB / 378.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.001544/0.7627, allocations: 0.9853 MB / 0.5146 GB, free: 25.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.04324/0.806, allocations: 1.242 MB / 0.5158 GB, free: 25.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.8061, allocations: 0 / 0.5158 GB, free: 25.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04145/0.8476, allocations: 1.12 MB / 0.5169 GB, free: 25.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.8481, allocations: 32.39 kB / 0.517 GB, free: 25.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.8518, allocations: 1.95 MB / 0.5189 GB, free: 24.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.8521, allocations: 0.7379 MB / 0.5196 GB, free: 24.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.8523, allocations: 41.67 kB / 0.5196 GB, free: 24.21 MB / 378.7 MB Notification: Performance of SimCode: time 1.363e-06/0.8523, allocations: 4 kB / 0.5196 GB, free: 24.21 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.172/4.024, allocations: 8.126 MB / 0.5276 GB, free: 23.28 MB / 378.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