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.001517/0.001517, allocations: 104.3 kB / 15.98 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001493, allocations: 191.4 kB / 16.9 MB, free: 6.145 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.552/1.552, allocations: 205.1 MB / 222.8 MB, free: 4.676 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.3995/0.3995, allocations: 43.51 MB / 313.6 MB, free: 8.508 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.001381/0.001381, allocations: 63.89 kB / 382.3 MB, free: 8.492 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1178, allocations: 57.78 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.00417/0.122, allocations: 2.709 MB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002805/0.1249, allocations: 1.792 MB / 444.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002379/0.1251, allocations: 0 / 444.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004179/0.1256, allocations: 111.3 kB / 444.7 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002606/0.1258, allocations: 99.12 kB / 444.8 MB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007236/0.1266, allocations: 303.1 kB / 445.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.1268, allocations: 258.2 kB / 445.4 MB, free: 9.328 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.548e-05/0.1269, allocations: 32.66 kB / 445.4 MB, free: 9.297 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.127, allocations: 91.36 kB / 445.5 MB, free: 9.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.1272, allocations: 111.2 kB / 445.6 MB, free: 9.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.1272, allocations: 8 kB / 445.6 MB, free: 9.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009674/0.1282, allocations: 0.7606 MB / 446.4 MB, free: 8.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.122e-05/0.1283, allocations: 43.72 kB / 446.4 MB, free: 8.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.1284, allocations: 134.9 kB / 446.5 MB, free: 8.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000812/0.1292, allocations: 0.6929 MB / 447.2 MB, free: 7.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.1292, allocations: 4 kB / 447.2 MB, free: 7.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1292, allocations: 0 / 447.2 MB, free: 7.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1293, allocations: 0 / 447.2 MB, free: 7.453 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.0008693/0.1301, allocations: 0.6355 MB / 447.9 MB, free: 6.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.1302, allocations: 12.03 kB / 447.9 MB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.661e-05/0.1303, allocations: 82.66 kB / 448 MB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.817e-05/0.1303, allocations: 36.47 kB / 448 MB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.1306, allocations: 251.4 kB / 448.3 MB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.1306, allocations: 25.38 kB / 448.3 MB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.1306, allocations: 35.94 kB / 448.3 MB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/0.1311, allocations: 366.5 kB / 448.7 MB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1312, allocations: 0 / 448.7 MB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.1312, allocations: 12 kB / 448.7 MB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.1312, allocations: 8 kB / 448.7 MB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003929/0.1316, allocations: 267.9 kB / 449 MB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.1328, allocations: 0.8882 MB / 449.8 MB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.133, allocations: 90.48 kB / 449.9 MB, free: 4.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.1332, allocations: 48.89 kB / 450 MB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.1332, allocations: 4 kB / 450 MB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.1332, allocations: 34.55 kB / 450 MB, free: 4.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.1333, allocations: 0 / 450 MB, free: 4.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005227/0.1338, allocations: 189.1 kB / 450.2 MB, free: 4.309 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.1338, allocations: 59.41 kB / 450.3 MB, free: 4.238 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/0.1342, allocations: 401.8 kB / 450.7 MB, free: 3.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.1342, allocations: 29.69 kB / 450.7 MB, free: 3.801 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.1344, allocations: 247 kB / 450.9 MB, free: 3.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.1344, allocations: 39.55 kB / 451 MB, free: 3.516 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.453e-05/0.1345, allocations: 65.89 kB / 451 MB, free: 3.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1346, allocations: 350.7 kB / 451.4 MB, free: 3.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.1348, allocations: 60.23 kB / 451.4 MB, free: 3.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.135, allocations: 246.2 kB / 451.7 MB, free: 2.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004239/0.1355, allocations: 341.3 kB / 452 MB, free: 2.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1355, allocations: 4 kB / 452 MB, free: 2.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000594/0.1361, allocations: 349.3 kB / 452.3 MB, free: 1.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1361, allocations: 8 kB / 452.4 MB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-05/0.1362, allocations: 23.94 kB / 452.4 MB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.1362, allocations: 8 kB / 452.4 MB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.1364, allocations: 59.91 kB / 452.4 MB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.1364, allocations: 11.94 kB / 452.5 MB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.1367, allocations: 63.48 kB / 452.5 MB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.1367, allocations: 24 kB / 452.5 MB, free: 1.73 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.0001336/0.1368, allocations: 153.7 kB / 452.7 MB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.943e-05/0.1369, allocations: 43.5 kB / 452.7 MB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004908/0.1374, allocations: 209 kB / 452.9 MB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1374, allocations: 0 / 452.9 MB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1374, allocations: 3.938 kB / 452.9 MB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1374, allocations: 0 / 452.9 MB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.1377, allocations: 289.3 kB / 453.2 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.12e-05/0.1378, allocations: 16 kB / 453.2 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.956e-05/0.1378, allocations: 11.98 kB / 453.2 MB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1379, allocations: 4 kB / 453.3 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.1379, allocations: 4 kB / 453.3 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1379, allocations: 0 / 453.3 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1379, allocations: 0 / 453.3 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.1383, allocations: 250.9 kB / 453.5 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.996e-05/0.1384, allocations: 104.7 kB / 453.6 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.1384, allocations: 12 kB / 453.6 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.1385, allocations: 7.984 kB / 453.6 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.1386, allocations: 4 kB / 453.6 MB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.1386, allocations: 4 kB / 453.6 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002224/0.1388, allocations: 275.1 kB / 453.9 MB, free: 280 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1388, allocations: 0 / 453.9 MB, free: 280 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004944/0.1393, allocations: 127.8 kB / 454 MB, free: 152 kB / 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.204/0.3433, allocations: 0.8728 MB / 454.9 MB, free: 48.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005704/0.3439, allocations: 327 kB / 455.2 MB, free: 48.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3439, allocations: 3.062 kB / 455.2 MB, free: 48.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.3441, allocations: 179.9 kB / 455.4 MB, free: 48.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.3446, allocations: 33.59 kB / 455.4 MB, free: 48.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/0.3476, allocations: 3.595 MB / 459 MB, free: 46.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.3477, allocations: 0.7791 MB / 459.8 MB, free: 45.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.727e-05/0.3478, allocations: 34.8 kB / 459.8 MB, free: 45.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.439e-05/0.3479, allocations: 110.4 kB / 459.9 MB, free: 45.32 MB / 382.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3479, allocations: 0 / 459.9 MB, free: 45.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.126/1.474, allocations: 11.62 MB / 471.6 MB, free: 44.36 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/1.474, allocations: 276.7 kB / 471.8 MB, free: 43.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/3.447, allocations: 11.22 kB / 471.8 MB, free: 43.97 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