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.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,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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_4_1_0-beta_om_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 trunk/package.mo): time 0.001289/0.001289, 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.001344/0.001344, 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.442/1.442, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2307/0.2307, 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.002285/0.002285, allocations: 81.02 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1275, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003441/0.1309, allocations: 2.129 MB / 482.4 MB, free: 3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.1336, allocations: 1.709 MB / 484.1 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.568e-05/0.1336, allocations: 4 kB / 484.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002961/0.134, allocations: 87.44 kB / 484.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.1341, allocations: 63.41 kB / 484.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007831/0.1349, allocations: 350.7 kB / 484.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.1351, allocations: 155 kB / 484.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.343e-05/0.1352, allocations: 20.3 kB / 484.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.346e-05/0.1352, allocations: 47.73 kB / 484.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.597e-05/0.1353, allocations: 59.59 kB / 484.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.1354, allocations: 4 kB / 484.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.1366, allocations: 0.784 MB / 485.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.1366, allocations: 23.86 kB / 485.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.405e-05/0.1367, allocations: 75.42 kB / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007585/0.1375, allocations: 0.5919 MB / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.1375, allocations: 0 / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1375, allocations: 0 / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1375, allocations: 4 kB / 486.3 MB, free: 15.03 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000683/0.1382, allocations: 0.5108 MB / 486.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.1383, allocations: 8.031 kB / 486.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.787e-05/0.1383, allocations: 54.73 kB / 486.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.1384, allocations: 20.66 kB / 486.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.1386, allocations: 220.2 kB / 487.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.1386, allocations: 20.38 kB / 487.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.1386, allocations: 16 kB / 487.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.1391, allocations: 263.5 kB / 487.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1391, allocations: 3.938 kB / 487.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.1391, allocations: 12 kB / 487.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.1391, allocations: 4 kB / 487.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.1395, allocations: 161.3 kB / 487.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.1405, allocations: 0.8963 MB / 488.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.1407, allocations: 62.55 kB / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.1408, allocations: 32.94 kB / 488.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.1408, allocations: 0 / 488.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.1409, allocations: 34.5 kB / 488.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.001e-06/0.1409, allocations: 0 / 488.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004528/0.1413, allocations: 141.5 kB / 488.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.1414, allocations: 55.39 kB / 488.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.1417, allocations: 262.9 kB / 489.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.1417, allocations: 33.64 kB / 489.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.1418, allocations: 179.1 kB / 489.3 MB, free: 11.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.1419, allocations: 23.73 kB / 489.3 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.619e-05/0.142, allocations: 49.61 kB / 489.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1421, allocations: 334.8 kB / 489.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.1423, allocations: 48.19 kB / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.1425, allocations: 188.1 kB / 489.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/0.1429, allocations: 259.4 kB / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.143, allocations: 0 / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005059/0.1435, allocations: 260.8 kB / 490.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1435, allocations: 4.688 kB / 490.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.272e-05/0.1435, allocations: 16 kB / 490.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.1436, allocations: 11.94 kB / 490.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.1438, allocations: 51.91 kB / 490.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.1438, allocations: 8 kB / 490.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.1439, allocations: 35.58 kB / 490.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.144, allocations: 20 kB / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 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.0001206/0.1441, allocations: 133.7 kB / 490.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.1442, allocations: 23.72 kB / 490.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003927/0.1446, allocations: 138.9 kB / 490.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1446, allocations: 3.938 kB / 490.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1446, allocations: 0 / 490.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1446, allocations: 4 kB / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.1448, allocations: 217.5 kB / 491.1 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-05/0.1449, allocations: 15.94 kB / 491.1 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.487e-05/0.1449, allocations: 11.98 kB / 491.1 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1449, allocations: 0 / 491.1 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.145, allocations: 0 / 491.1 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.05e-05/0.145, allocations: 7.938 kB / 491.1 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.145, allocations: 0 / 491.1 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.1453, allocations: 211.2 kB / 491.3 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.295e-05/0.1454, allocations: 93.11 kB / 491.4 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.1454, allocations: 0 / 491.4 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.1456, allocations: 15.91 kB / 491.4 MB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.1456, allocations: 8 kB / 491.4 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1456, allocations: 0 / 491.4 MB, free: 9.406 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001761/0.1458, allocations: 185.9 kB / 491.6 MB, free: 9.227 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1458, allocations: 0 / 491.6 MB, free: 9.227 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004879/0.1463, allocations: 112 kB / 491.7 MB, free: 9.117 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.0009784/0.1473, allocations: 0.8331 MB / 492.5 MB, free: 8.258 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004953/0.1478, allocations: 195.7 kB / 492.7 MB, free: 8.055 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1478, allocations: 0 / 492.7 MB, free: 8.055 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.148, allocations: 104.1 kB / 492.8 MB, free: 7.941 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.1484, allocations: 28.77 kB / 492.9 MB, free: 7.914 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/0.1516, allocations: 2.503 MB / 495.4 MB, free: 5.203 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.152, allocations: 0.7245 MB / 496.1 MB, free: 4.449 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.1521, allocations: 25.94 kB / 496.1 MB, free: 4.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.662e-05/0.1522, allocations: 63.41 kB / 496.2 MB, free: 4.359 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1522, allocations: 0 / 496.2 MB, free: 4.359 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03626/0.1885, allocations: 8.933 MB / 0.4933 GB, free: 11.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.04, allocations: 5.625 kB / 0.4933 GB, free: 11.64 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_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.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1)