Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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_4_1_0-beta_om_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/ModelicaServices trunk/package.mo): time 0.00134/0.00134, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2285/0.2285, allocations: 46.12 MB / 344.2 MB, free: 11.59 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002239/0.00224, allocations: 84.27 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1252, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.004346/0.1296, allocations: 2.134 MB / 482.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002527/0.1322, allocations: 1.413 MB / 483.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.1324, allocations: 0 / 483.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004077/0.1329, allocations: 87.44 kB / 483.9 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.1331, allocations: 59.42 kB / 483.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000682/0.1338, allocations: 215.1 kB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.134, allocations: 147 kB / 484.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.519e-05/0.1341, allocations: 16.3 kB / 484.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.1343, allocations: 59.61 kB / 484.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.1345, allocations: 71.58 kB / 484.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.1345, allocations: 4 kB / 484.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007065/0.1352, allocations: 435.3 kB / 484.8 MB, free: 500 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.976e-05/0.1353, allocations: 19.86 kB / 484.9 MB, free: 480 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.456e-05/0.1354, allocations: 75.42 kB / 484.9 MB, free: 404 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006748/0.1361, allocations: 434.6 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1361, allocations: 0 / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1361, allocations: 0 / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.1361, allocations: 0 / 485.4 MB, free: 15.96 MB / 366.1 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.0006924/0.1368, allocations: 0.4908 MB / 485.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1368, allocations: 12.03 kB / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.004e-05/0.1369, allocations: 54.67 kB / 485.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/0.137, allocations: 20.75 kB / 485.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.1372, allocations: 211.8 kB / 486.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.1372, allocations: 16.38 kB / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.1373, allocations: 23.92 kB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.1377, allocations: 203.5 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1377, allocations: 4 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.1377, allocations: 8 kB / 486.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.1377, allocations: 4 kB / 486.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.138, allocations: 148.3 kB / 486.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009177/0.139, allocations: 0.5713 MB / 487.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.1392, allocations: 66.55 kB / 487.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.1393, allocations: 32.94 kB / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.1394, allocations: 4 kB / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.465e-05/0.1394, allocations: 30.56 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.1394, allocations: 0 / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005213/0.14, allocations: 141.3 kB / 487.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.14, allocations: 55.41 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.1403, allocations: 254.6 kB / 487.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.1403, allocations: 25.7 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.1405, allocations: 163.7 kB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.1405, allocations: 27.72 kB / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.97e-05/0.1406, allocations: 41.61 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1408, allocations: 338.7 kB / 488.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.1409, allocations: 35.97 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.1411, allocations: 137.6 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.1415, allocations: 184.6 kB / 488.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1415, allocations: 192 / 488.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004225/0.1419, allocations: 205.5 kB / 488.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1419, allocations: 4 kB / 488.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.223e-05/0.142, allocations: 16 kB / 488.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.142, allocations: 4 kB / 488.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.1421, allocations: 27.98 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.1421, allocations: 7.938 kB / 488.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.1423, allocations: 39.58 kB / 488.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.1423, allocations: 12 kB / 488.9 MB, free: 12.08 MB / 366.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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001344/0.1425, allocations: 133.8 kB / 489.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.1425, allocations: 23.73 kB / 489.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004076/0.1429, allocations: 138.7 kB / 489.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1429, allocations: 0 / 489.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1429, allocations: 8 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.143, allocations: 0 / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.1432, allocations: 221.5 kB / 489.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/0.1433, allocations: 8 kB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.99e-05/0.1433, allocations: 4 kB / 489.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1433, allocations: 0 / 489.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.1433, allocations: 11.98 kB / 489.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1433, allocations: 0 / 489.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1434, allocations: 3.938 kB / 489.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.1437, allocations: 203.3 kB / 489.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.946e-05/0.1438, allocations: 96.81 kB / 489.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.1438, allocations: 0 / 489.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.1439, allocations: 4 kB / 489.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.144, allocations: 7.984 kB / 489.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.144, allocations: 8 kB / 489.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001671/0.1442, allocations: 182 kB / 490 MB, free: 10.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1442, allocations: 0 / 490 MB, free: 10.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004054/0.1446, allocations: 83.86 kB / 490 MB, free: 10.87 MB / 366.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009089/0.1455, allocations: 0.8021 MB / 490.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000514/0.1461, allocations: 171.2 kB / 491 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1461, allocations: 0 / 491 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.1463, allocations: 104.2 kB / 491.1 MB, free: 9.746 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.1467, allocations: 19.94 kB / 491.1 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.1501, allocations: 2.389 MB / 493.5 MB, free: 7.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.1505, allocations: 0.7358 MB / 494.3 MB, free: 6.418 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.504e-05/0.1506, allocations: 13.55 kB / 494.3 MB, free: 6.406 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/0.1506, allocations: 57.95 kB / 494.3 MB, free: 6.352 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1507, allocations: 0 / 494.3 MB, free: 6.352 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/0.1818, allocations: 6.708 MB / 0.4893 GB, free: 15.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/11.92, allocations: 10.03 kB / 0.4893 GB, free: 15.84 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1)