Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",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.001684/0.00169, allocations: 188.3 kB / 16.4 MB, free: 5.625 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.161/2.161, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.00125/0.00125, allocations: 98.8 kB / 270.9 MB, free: 13.38 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.3896/0.3896, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000475/0.000475, allocations: 12 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1228, allocations: 58.86 MB / 490.3 MB, free: 9.223 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003131/0.126, allocations: 1.705 MB / 492.1 MB, free: 7.496 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002661/0.1287, allocations: 1.245 MB / 493.3 MB, free: 6.246 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.1289, allocations: 0 / 493.3 MB, free: 6.246 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004031/0.1293, allocations: 83.61 kB / 493.4 MB, free: 6.164 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.1296, allocations: 59.81 kB / 493.4 MB, free: 6.105 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008008/0.1304, allocations: 171.5 kB / 493.6 MB, free: 5.938 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.1306, allocations: 119.7 kB / 493.7 MB, free: 5.82 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.716e-05/0.1307, allocations: 20.28 kB / 493.7 MB, free: 5.801 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.1309, allocations: 51.72 kB / 493.8 MB, free: 5.75 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.131, allocations: 51.67 kB / 493.8 MB, free: 5.699 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.1311, allocations: 4 kB / 493.8 MB, free: 5.695 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.1322, allocations: 431.5 kB / 494.3 MB, free: 5.273 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.112e-05/0.1322, allocations: 27.84 kB / 494.3 MB, free: 5.246 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.075e-05/0.1323, allocations: 53.58 kB / 494.3 MB, free: 5.188 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005693/0.1329, allocations: 235.5 kB / 494.6 MB, free: 4.957 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1329, allocations: 0 / 494.6 MB, free: 4.957 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.133, allocations: 0 / 494.6 MB, free: 4.957 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.133, allocations: 0 / 494.6 MB, free: 4.957 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008118/0.1338, allocations: 474.6 kB / 495 MB, free: 4.445 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.1338, allocations: 8.031 kB / 495 MB, free: 4.438 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.276e-05/0.1339, allocations: 54.55 kB / 495.1 MB, free: 4.375 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.146e-05/0.134, allocations: 27.67 kB / 495.1 MB, free: 4.348 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.1343, allocations: 218.6 kB / 495.3 MB, free: 4.094 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.1343, allocations: 12 kB / 495.4 MB, free: 4.082 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.1344, allocations: 16 kB / 495.4 MB, free: 4.066 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005778/0.135, allocations: 206.7 kB / 495.6 MB, free: 3.855 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.135, allocations: 0 / 495.6 MB, free: 3.855 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.135, allocations: 4 kB / 495.6 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.1351, allocations: 8 kB / 495.6 MB, free: 3.844 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000516/0.1356, allocations: 160.2 kB / 495.7 MB, free: 3.688 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.1368, allocations: 0.5715 MB / 496.3 MB, free: 3.066 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/0.1372, allocations: 70.48 kB / 496.4 MB, free: 2.988 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.1372, allocations: 0 / 496.4 MB, free: 2.988 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.1373, allocations: 30.56 kB / 496.4 MB, free: 2.949 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.824e-06/0.1373, allocations: 4 kB / 496.4 MB, free: 2.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008399/0.1381, allocations: 311.7 kB / 496.7 MB, free: 2.598 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.1382, allocations: 55.41 kB / 496.8 MB, free: 2.531 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.1386, allocations: 254.6 kB / 497 MB, free: 2.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.1386, allocations: 25.7 kB / 497 MB, free: 2.238 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.1388, allocations: 222.1 kB / 497.3 MB, free: 2.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.1388, allocations: 19.73 kB / 497.3 MB, free: 2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/0.1389, allocations: 7.938 kB / 497.3 MB, free: 1.992 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.139, allocations: 322.8 kB / 497.6 MB, free: 1.668 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.1393, allocations: 39.97 kB / 497.6 MB, free: 1.629 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/0.1396, allocations: 139.5 kB / 497.8 MB, free: 1.449 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.1399, allocations: 59.91 kB / 497.8 MB, free: 1.391 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.1399, allocations: 4 kB / 497.8 MB, free: 1.387 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007086/0.1406, allocations: 193.2 kB / 498 MB, free: 1.191 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.1406, allocations: 4 kB / 498 MB, free: 1.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.542e-05/0.1407, allocations: 16.17 kB / 498.1 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.1407, allocations: 8.438 kB / 498.1 MB, free: 1.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.141, allocations: 39.92 kB / 498.1 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.141, allocations: 4 kB / 498.1 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.1412, allocations: 43.62 kB / 498.1 MB, free: 1.078 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.1413, allocations: 8 kB / 498.2 MB, free: 1.07 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001659/0.1415, allocations: 133.7 kB / 498.3 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.1415, allocations: 19.72 kB / 498.3 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006537/0.1422, allocations: 158.8 kB / 498.5 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.1422, allocations: 0 / 498.5 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1422, allocations: 0 / 498.5 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1422, allocations: 0 / 498.5 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.1426, allocations: 225.5 kB / 498.7 MB, free: 496 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.661e-05/0.1427, allocations: 8 kB / 498.7 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.703e-05/0.1428, allocations: 15.92 kB / 498.7 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.1428, allocations: 0 / 498.7 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.1428, allocations: 8 kB / 498.7 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1428, allocations: 0 / 498.7 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.1429, allocations: 0 / 498.7 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005449/0.1434, allocations: 219.2 kB / 498.9 MB, free: 228 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.542e-05/0.1435, allocations: 92.83 kB / 499 MB, free: 116 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.1436, allocations: 4 kB / 499 MB, free: 112 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.1438, allocations: 7.984 kB / 499 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.1438, allocations: 4.188 kB / 499 MB, free: 100 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.1439, allocations: 7.984 kB / 499 MB, free: 92 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000294/0.1442, allocations: 178 kB / 499.2 MB, free: 15.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1442, allocations: 3.938 kB / 499.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005667/0.1448, allocations: 75.92 kB / 499.3 MB, free: 15.84 MB / 346.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00128/0.146, allocations: 0.8175 MB / 0.4884 GB, free: 15 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007305/0.1468, allocations: 184.1 kB / 0.4886 GB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1468, allocations: 4 kB / 0.4886 GB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003465/0.1472, allocations: 107.2 kB / 0.4887 GB, free: 14.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.1476, allocations: 16.89 kB / 0.4887 GB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003995/0.1516, allocations: 3.392 MB / 0.492 GB, free: 11.15 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.152, allocations: 0.7397 MB / 0.4927 GB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.1522, allocations: 59.41 kB / 0.4928 GB, free: 10.33 MB / 346.7 MB Notification: Performance of SimCode: time 1.532e-06/0.1522, allocations: 0 / 0.4928 GB, free: 10.33 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.695/2.848, allocations: 5.184 MB / 0.4978 GB, free: 5.145 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat does not exist to compare? outputFormat=mat