Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007249/0.0007249, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008039/0.0008039, allocations: 185.7 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.4 MB / 223.1 MB, free: 5.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3476/0.3476, allocations: 43.58 MB / 315 MB, free: 8.676 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004959/0.000496, allocations: 12 kB / 384.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1124, allocations: 58.87 MB / 443.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002892/0.1153, allocations: 2.343 MB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003089/0.1185, allocations: 1.851 MB / 447.8 MB, free: 8.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.1187, allocations: 0 / 447.8 MB, free: 8.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.1191, allocations: 99.36 kB / 447.9 MB, free: 8.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.1195, allocations: 107.1 kB / 448 MB, free: 8.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000985/0.1205, allocations: 271.1 kB / 448.2 MB, free: 7.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003661/0.1209, allocations: 278.2 kB / 448.5 MB, free: 7.598 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.642e-05/0.1209, allocations: 24.72 kB / 448.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.1211, allocations: 95.28 kB / 448.6 MB, free: 7.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.1213, allocations: 115.2 kB / 448.7 MB, free: 7.367 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.1213, allocations: 4 kB / 448.7 MB, free: 7.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.1226, allocations: 0.7606 MB / 449.5 MB, free: 6.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.291e-05/0.1227, allocations: 39.7 kB / 449.5 MB, free: 6.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.1228, allocations: 156.7 kB / 449.7 MB, free: 6.402 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.1239, allocations: 0.6928 MB / 450.4 MB, free: 5.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1239, allocations: 0 / 450.4 MB, free: 5.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.124, allocations: 0 / 450.4 MB, free: 5.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.124, allocations: 0 / 450.4 MB, free: 5.707 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.000866/0.1248, allocations: 0.5849 MB / 451 MB, free: 5.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1249, allocations: 12.03 kB / 451 MB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001363/0.125, allocations: 74.72 kB / 451 MB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.424e-05/0.1251, allocations: 40.38 kB / 451.1 MB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.1254, allocations: 255.4 kB / 451.3 MB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.1254, allocations: 25.38 kB / 451.4 MB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.813e-05/0.1255, allocations: 35.94 kB / 451.4 MB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005784/0.1261, allocations: 366.5 kB / 451.8 MB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1261, allocations: 4 kB / 451.8 MB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.1261, allocations: 12 kB / 451.8 MB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.1261, allocations: 11.98 kB / 451.8 MB, free: 4.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004375/0.1266, allocations: 275.9 kB / 452.1 MB, free: 3.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.1279, allocations: 0.8844 MB / 452.9 MB, free: 2.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.1281, allocations: 98.53 kB / 453 MB, free: 2.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.1283, allocations: 52.92 kB / 453.1 MB, free: 2.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.1283, allocations: 7.938 kB / 453.1 MB, free: 2.824 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.1284, allocations: 38.56 kB / 453.1 MB, free: 2.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.1284, allocations: 0 / 453.1 MB, free: 2.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005592/0.1289, allocations: 205.2 kB / 453.3 MB, free: 2.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.129, allocations: 51.41 kB / 453.4 MB, free: 2.508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003921/0.1294, allocations: 401.7 kB / 453.8 MB, free: 2.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.1294, allocations: 29.7 kB / 453.8 MB, free: 2.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.1297, allocations: 251.1 kB / 454 MB, free: 1.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/0.1297, allocations: 31.55 kB / 454.1 MB, free: 1.789 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.1298, allocations: 33.7 kB / 454.1 MB, free: 1.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1299, allocations: 350.7 kB / 454.5 MB, free: 1.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.1301, allocations: 68.23 kB / 454.5 MB, free: 1.332 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004251/0.1305, allocations: 254.2 kB / 454.8 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004799/0.131, allocations: 349.3 kB / 455.1 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.131, allocations: 4 kB / 455.1 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006246/0.1317, allocations: 356.6 kB / 455.5 MB, free: 204 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1317, allocations: 8 kB / 455.5 MB, free: 196 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.473e-05/0.1317, allocations: 28.28 kB / 455.5 MB, free: 168 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.1318, allocations: 11.94 kB / 455.5 MB, free: 156 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.132, allocations: 60.59 kB / 455.6 MB, free: 96 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.132, allocations: 15.88 kB / 455.6 MB, free: 80 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.1322, allocations: 67.27 kB / 455.6 MB, free: 12 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1862/0.3185, allocations: 21.33 kB / 455.7 MB, free: 46.04 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_3.geometry,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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002336/0.3187, allocations: 148 kB / 455.8 MB, free: 45.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.181e-05/0.3188, allocations: 32.92 kB / 455.8 MB, free: 45.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006352/0.3195, allocations: 221.9 kB / 456.1 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3195, allocations: 0 / 456.1 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.3195, allocations: 6.547 kB / 456.1 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3195, allocations: 6.844 kB / 456.1 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003531/0.3199, allocations: 273.6 kB / 456.3 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.78e-05/0.3199, allocations: 22 kB / 456.4 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.104e-05/0.32, allocations: 8.266 kB / 456.4 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.32, allocations: 0.7031 kB / 456.4 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.32, allocations: 8.625 kB / 456.4 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.32, allocations: 4.406 kB / 456.4 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.32, allocations: 1.969 kB / 456.4 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000383/0.3204, allocations: 267.4 kB / 456.6 MB, free: 45.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-05/0.3205, allocations: 105 kB / 456.8 MB, free: 45.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.3206, allocations: 2.688 kB / 456.8 MB, free: 45.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.3207, allocations: 14.7 kB / 456.8 MB, free: 45.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.3208, allocations: 9.188 kB / 456.8 MB, free: 45.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.3208, allocations: 5.984 kB / 456.8 MB, free: 45.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002524/0.321, allocations: 272.8 kB / 457.1 MB, free: 45.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3211, allocations: 0 / 457.1 MB, free: 45.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006177/0.3217, allocations: 127.2 kB / 457.2 MB, free: 45.39 MB / 382.1 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 (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008365/0.3225, allocations: 0.8891 MB / 458.1 MB, free: 44.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000582/0.3231, allocations: 322.8 kB / 458.4 MB, free: 44.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3231, allocations: 2.516 kB / 458.4 MB, free: 44.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.3234, allocations: 188.3 kB / 458.6 MB, free: 44.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.3238, allocations: 40.72 kB / 458.6 MB, free: 44.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003332/0.3271, allocations: 3.646 MB / 462.3 MB, free: 42.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.3273, allocations: 0.7752 MB / 463 MB, free: 41.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.771e-05/0.3274, allocations: 35.61 kB / 463.1 MB, free: 41.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.557e-05/0.3275, allocations: 107.4 kB / 463.2 MB, free: 41.67 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3275, allocations: 0 / 463.2 MB, free: 41.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.3482, allocations: 11.28 MB / 474.4 MB, free: 40.79 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.3484, allocations: 275.9 kB / 474.7 MB, free: 40.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/2.374, allocations: 4 kB / 474.7 MB, free: 40.4 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat does not exist to compare? outputFormat=mat