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.001816/0.001816, allocations: 103.9 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.001887/0.001887, allocations: 210.4 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.458/1.458, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2292/0.2292, allocations: 46.12 MB / 344.2 MB, free: 11.6 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.00223/0.00223, allocations: 81.52 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1298, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.004252/0.1341, allocations: 2.137 MB / 482.4 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.1365, allocations: 1.41 MB / 483.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.1367, allocations: 0 / 483.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.1371, allocations: 87.44 kB / 483.9 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.1373, allocations: 63.42 kB / 483.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007018/0.138, allocations: 211.1 kB / 484.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.1383, allocations: 151 kB / 484.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.739e-05/0.1384, allocations: 16.3 kB / 484.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003117/0.1387, allocations: 67.59 kB / 484.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.1389, allocations: 59.59 kB / 484.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.1389, allocations: 4 kB / 484.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008533/0.1398, allocations: 439.3 kB / 484.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.114e-05/0.1399, allocations: 19.86 kB / 484.9 MB, free: 496 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.14, allocations: 67.44 kB / 484.9 MB, free: 428 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008614/0.1409, allocations: 446.6 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1409, allocations: 0 / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1409, allocations: 0 / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.1409, allocations: 0 / 485.4 MB, free: 15.98 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.0009656/0.1419, allocations: 0.4946 MB / 485.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.1419, allocations: 8.031 kB / 485.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.706e-05/0.142, allocations: 58.72 kB / 485.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.531e-05/0.1421, allocations: 24.58 kB / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.1424, allocations: 204 kB / 486.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.1424, allocations: 20.36 kB / 486.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.1425, allocations: 19.94 kB / 486.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004569/0.143, allocations: 207.5 kB / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.143, allocations: 0 / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.143, allocations: 8 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.143, allocations: 8 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003463/0.1434, allocations: 140.2 kB / 486.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.1444, allocations: 0.5831 MB / 487.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.1447, allocations: 58.55 kB / 487.2 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.1448, allocations: 32.95 kB / 487.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.1448, allocations: 7.969 kB / 487.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.1449, allocations: 34.56 kB / 487.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.1449, allocations: 0 / 487.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004867/0.1454, allocations: 133.3 kB / 487.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.1454, allocations: 51.41 kB / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.1457, allocations: 262.6 kB / 487.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.1458, allocations: 25.7 kB / 487.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.146, allocations: 167.7 kB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.146, allocations: 19.73 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.804e-05/0.1461, allocations: 41.62 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1462, allocations: 334.8 kB / 488.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.1464, allocations: 39.97 kB / 488.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.1466, allocations: 126.9 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.1469, allocations: 188.6 kB / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.1469, allocations: 4 kB / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004419/0.1474, allocations: 197.1 kB / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.1474, allocations: 8 kB / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.73e-05/0.1475, allocations: 19.98 kB / 488.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.1475, allocations: 4 kB / 488.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.1476, allocations: 32.36 kB / 488.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/0.1477, allocations: 8 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.1478, allocations: 35.58 kB / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.1478, allocations: 16.12 kB / 488.9 MB, free: 12.09 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.0001317/0.148, allocations: 125.7 kB / 489.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.148, allocations: 15.81 kB / 489.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004257/0.1485, allocations: 154.7 kB / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1485, allocations: 3.984 kB / 489.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1485, allocations: 0 / 489.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1485, allocations: 0 / 489.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.1488, allocations: 217.5 kB / 489.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/0.1488, allocations: 8 kB / 489.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.484e-05/0.1489, allocations: 7.984 kB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1489, allocations: 4 kB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.1489, allocations: 4 kB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1489, allocations: 3.938 kB / 489.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1489, allocations: 0 / 489.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.1493, allocations: 203.2 kB / 489.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-05/0.1494, allocations: 96.83 kB / 489.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.1494, allocations: 8 kB / 489.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1495, allocations: 7.984 kB / 489.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.1495, allocations: 0 / 489.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.1496, allocations: 4 kB / 489.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.1497, allocations: 186 kB / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1497, allocations: 0 / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003923/0.1501, allocations: 79.86 kB / 490 MB, free: 10.89 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.0009808/0.1511, allocations: 0.8022 MB / 490.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005027/0.1516, allocations: 176 kB / 491 MB, free: 9.871 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1517, allocations: 0 / 491 MB, free: 9.871 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.1519, allocations: 99.31 kB / 491.1 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.1523, allocations: 28.88 kB / 491.1 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.156, allocations: 2.382 MB / 493.5 MB, free: 7.191 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.1565, allocations: 0.7319 MB / 494.3 MB, free: 6.434 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.895e-05/0.1566, allocations: 21.53 kB / 494.3 MB, free: 6.414 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.16e-05/0.1567, allocations: 59.42 kB / 494.3 MB, free: 6.355 MB / 366.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1567, allocations: 0 / 494.3 MB, free: 6.355 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/0.1907, allocations: 6.703 MB / 0.4893 GB, free: 15.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/11.88, allocations: 17.14 kB / 0.4893 GB, free: 15.85 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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)