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_roundTube_KC.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_roundTube_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.2388/0.2388, allocations: 46.12 MB / 344.2 MB, free: 11.54 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.003028/0.003028, allocations: 77.16 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1172, allocations: 62.45 MB / 480.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004367/0.1216, allocations: 2.691 MB / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002601/0.1242, allocations: 1.476 MB / 484.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002424/0.1245, allocations: 4 kB / 484.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004457/0.125, allocations: 115.2 kB / 484.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00057/0.1256, allocations: 126.8 kB / 484.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008615/0.1264, allocations: 271 kB / 484.9 MB, free: 404 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004593/0.1269, allocations: 270.1 kB / 485.2 MB, free: 132 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.131e-05/0.127, allocations: 32.66 kB / 485.2 MB, free: 100 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.1272, allocations: 99.39 kB / 485.3 MB, free: 0 / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.1275, allocations: 127.2 kB / 485.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.1275, allocations: 4 kB / 485.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.1288, allocations: 0.6045 MB / 486 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.935e-05/0.129, allocations: 47.66 kB / 486.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.1292, allocations: 127 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009604/0.1301, allocations: 0.5527 MB / 486.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1301, allocations: 0 / 486.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1301, allocations: 0 / 486.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.1302, allocations: 0 / 486.8 MB, free: 14.54 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001118/0.1313, allocations: 0.6279 MB / 487.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.1313, allocations: 8.031 kB / 487.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.174e-05/0.1314, allocations: 70.72 kB / 487.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.368e-05/0.1315, allocations: 52.36 kB / 487.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.1319, allocations: 239.8 kB / 487.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.132, allocations: 33.31 kB / 487.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/0.132, allocations: 39.94 kB / 487.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000924/0.1329, allocations: 0.5687 MB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.133, allocations: 7.875 kB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.423e-05/0.133, allocations: 20 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.133, allocations: 12 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006645/0.1337, allocations: 329.1 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00333/0.1371, allocations: 4.062 MB / 492.8 MB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.1374, allocations: 86.55 kB / 492.9 MB, free: 7.961 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.1375, allocations: 40.89 kB / 492.9 MB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.1375, allocations: 4 kB / 492.9 MB, free: 7.914 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.1376, allocations: 34.56 kB / 493 MB, free: 7.871 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.1376, allocations: 0 / 493 MB, free: 7.871 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005847/0.1382, allocations: 169.2 kB / 493.1 MB, free: 7.699 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.1382, allocations: 51.41 kB / 493.2 MB, free: 7.637 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005251/0.1388, allocations: 413.7 kB / 493.6 MB, free: 7.223 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.1388, allocations: 29.7 kB / 493.6 MB, free: 7.188 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.139, allocations: 247 kB / 493.9 MB, free: 6.941 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.1391, allocations: 31.64 kB / 493.9 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.1392, allocations: 65.94 kB / 494 MB, free: 6.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.1394, allocations: 350.7 kB / 494.3 MB, free: 6.488 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.1396, allocations: 60.55 kB / 494.4 MB, free: 6.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.1399, allocations: 259.3 kB / 494.6 MB, free: 6.074 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005448/0.1405, allocations: 359.8 kB / 495 MB, free: 5.621 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.1405, allocations: 4 kB / 495 MB, free: 5.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006799/0.1412, allocations: 349.1 kB / 495.3 MB, free: 5.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.1412, allocations: 11.98 kB / 495.3 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.1412, allocations: 8 kB / 495.3 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.1412, allocations: 8 kB / 495.3 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004871/0.1417, allocations: 108.5 kB / 495.4 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009101/0.1427, allocations: 1.227 MB / 496.7 MB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/0.143, allocations: 67.27 kB / 496.7 MB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.143, allocations: 20 kB / 496.7 MB, free: 3.777 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000154/0.1432, allocations: 150.5 kB / 496.9 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.626e-05/0.1432, allocations: 47.45 kB / 496.9 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004481/0.1437, allocations: 172.9 kB / 497.1 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.1437, allocations: 0 / 497.1 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1437, allocations: 0 / 497.1 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1437, allocations: 0 / 497.1 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/0.1441, allocations: 281.4 kB / 497.4 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.1441, allocations: 3.984 kB / 497.4 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.1444, allocations: 51.92 kB / 497.4 MB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1444, allocations: 0 / 497.4 MB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.1444, allocations: 7.984 kB / 497.4 MB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007838/0.1452, allocations: 1.203 MB / 498.6 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.1452, allocations: 0 / 498.6 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.1456, allocations: 243.2 kB / 498.9 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1457, allocations: 108.6 kB / 499 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/0.1458, allocations: 7.922 kB / 499 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.1459, allocations: 4 kB / 499 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.146, allocations: 7.984 kB / 499 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.146, allocations: 8 kB / 499 MB, free: 1.352 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002795/0.1463, allocations: 271.1 kB / 499.3 MB, free: 1.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1463, allocations: 0 / 499.3 MB, free: 1.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005648/0.1469, allocations: 116 kB / 499.4 MB, free: 0.9766 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001057/0.1479, allocations: 0.8563 MB / 0.4885 GB, free: 96 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006056/0.1486, allocations: 204.8 kB / 0.4887 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1486, allocations: 0 / 0.4887 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.1489, allocations: 83.83 kB / 0.4888 GB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.1493, allocations: 34.77 kB / 0.4888 GB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004615/0.1539, allocations: 3.472 MB / 0.4922 GB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.1543, allocations: 0.7755 MB / 0.493 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001392/0.1545, allocations: 42.89 kB / 0.493 GB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.1547, allocations: 99.41 kB / 0.4931 GB, free: 11.09 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1547, allocations: 0 / 0.4931 GB, free: 11.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0402/0.1949, allocations: 9.947 MB / 0.5028 GB, free: 1.367 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.19, allocations: 9.203 kB / 0.5028 GB, free: 1.363 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1)