Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",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.0009405/0.0009405, allocations: 94.7 kB / 16.98 MB, free: 6.398 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.0009324/0.0009326, allocations: 183.5 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 223.2 MB / 241.8 MB, free: 14.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2062/0.2062, allocations: 44.23 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004727, allocations: 8 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1385, allocations: 61.91 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002175/0.1407, allocations: 1.755 MB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.1421, allocations: 0.9514 MB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.104e-05/0.1422, allocations: 4 kB / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002531/0.1425, allocations: 79.55 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.1427, allocations: 87.66 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.143, allocations: 91.8 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.1431, allocations: 135.6 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.503e-05/0.1432, allocations: 20.39 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.1433, allocations: 59.72 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.1435, allocations: 79.55 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.1435, allocations: 8 kB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003879/0.1439, allocations: 267.7 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.112e-05/0.1439, allocations: 27.83 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.108e-05/0.144, allocations: 57.58 kB / 475.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.1442, allocations: 175.6 kB / 475.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1442, allocations: 0 / 475.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1443, allocations: 0 / 475.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1443, allocations: 0 / 475.3 MB, free: 9.824 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005443/0.1448, allocations: 479 kB / 475.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.1449, allocations: 8.031 kB / 475.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.633e-05/0.1449, allocations: 62.55 kB / 475.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.145, allocations: 23.72 kB / 475.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.1452, allocations: 214.6 kB / 476.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.1452, allocations: 20.44 kB / 476.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.1452, allocations: 19.95 kB / 476.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004016/0.1456, allocations: 231.2 kB / 476.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1457, allocations: 3.984 kB / 476.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.1457, allocations: 12 kB / 476.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.1457, allocations: 4 kB / 476.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.1461, allocations: 253.6 kB / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008897/0.147, allocations: 0.6196 MB / 477.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.1474, allocations: 126.6 kB / 477.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.1474, allocations: 3.984 kB / 477.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.1475, allocations: 34.62 kB / 477.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.1475, allocations: 4 kB / 477.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005111/0.148, allocations: 181.7 kB / 477.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.148, allocations: 51.41 kB / 477.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.1483, allocations: 266.9 kB / 477.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1483, allocations: 25.8 kB / 477.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.63e-05/0.1484, allocations: 179.2 kB / 478.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.1484, allocations: 39.55 kB / 478.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-06/0.1485, allocations: 0 / 478.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1486, allocations: 334.8 kB / 478.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.1487, allocations: 51.95 kB / 478.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.1489, allocations: 148.8 kB / 478.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.1491, allocations: 71.91 kB / 478.7 MB, free: 6.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.1491, allocations: 4 kB / 478.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004592/0.1496, allocations: 245.4 kB / 479 MB, free: 5.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1496, allocations: 8 kB / 479 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.1496, allocations: 4 kB / 479 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1497, allocations: 4 kB / 479 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/0.15, allocations: 91.81 kB / 479.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006404/0.1507, allocations: 1.219 MB / 480.3 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.1509, allocations: 39.58 kB / 480.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.1509, allocations: 12 kB / 480.4 MB, free: 4.484 MB / 350.1 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.151, allocations: 134.4 kB / 480.5 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.1511, allocations: 23.72 kB / 480.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004356/0.1515, allocations: 179.2 kB / 480.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1515, allocations: 0 / 480.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/0.1516, allocations: 7.938 kB / 480.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1516, allocations: 0 / 480.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006207/0.1522, allocations: 460 kB / 481.1 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1522, allocations: 0 / 481.1 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.1525, allocations: 59.91 kB / 481.2 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1525, allocations: 0 / 481.2 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.1525, allocations: 16.03 kB / 481.2 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007181/0.1532, allocations: 1.215 MB / 482.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.1533, allocations: 0 / 482.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004313/0.1537, allocations: 280.5 kB / 482.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.405e-05/0.1538, allocations: 108.8 kB / 482.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.1538, allocations: 7.953 kB / 482.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.154, allocations: 11.98 kB / 482.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.1541, allocations: 7.984 kB / 482.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.1541, allocations: 8 kB / 482.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001691/0.1543, allocations: 186 kB / 483 MB, free: 1.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1543, allocations: 0 / 483 MB, free: 1.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000395/0.1547, allocations: 60 kB / 483.1 MB, free: 1.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * 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): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009074/0.1556, allocations: 0.9952 MB / 484.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005804/0.1562, allocations: 184.4 kB / 484.3 MB, free: 364 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1562, allocations: 0 / 484.3 MB, free: 364 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002978/0.1565, allocations: 91.81 kB / 484.4 MB, free: 272 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.1568, allocations: 24.88 kB / 484.4 MB, free: 244 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.1597, allocations: 3.492 MB / 487.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.16, allocations: 0.7365 MB / 488.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.532e-05/0.1601, allocations: 17.95 kB / 488.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.267e-05/0.1602, allocations: 63.41 kB / 488.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1602, allocations: 0 / 488.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.1779, allocations: 5.46 MB / 494.1 MB, free: 6.578 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/0.1782, allocations: 265.4 kB / 494.4 MB, free: 6.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/2.206, allocations: 2.25 kB / 494.4 MB, free: 6.23 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat does not exist to compare? outputFormat=mat