Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002246/0.002246, allocations: 209.9 kB / 22.99 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.219/0.219, allocations: 44.25 MB / 330.3 MB, free: 9.328 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 75.89 kB / 467.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.123, allocations: 61.03 MB / 0.5162 GB, free: 7.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.00417/0.1272, allocations: 2.504 MB / 0.5186 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002677/0.1299, allocations: 1.605 MB / 0.5202 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.13, allocations: 4 kB / 0.5202 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003534/0.1304, allocations: 103.2 kB / 0.5203 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.1307, allocations: 126.9 kB / 0.5204 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008228/0.1315, allocations: 350.7 kB / 0.5208 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.1318, allocations: 266.1 kB / 0.521 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.884e-05/0.1318, allocations: 16.92 kB / 0.521 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.132, allocations: 95.41 kB / 0.5211 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.1321, allocations: 103.2 kB / 0.5212 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.1321, allocations: 8 kB / 0.5212 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008742/0.133, allocations: 0.4954 MB / 0.5217 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.173e-05/0.1331, allocations: 39.67 kB / 0.5217 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.1332, allocations: 103.3 kB / 0.5218 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008504/0.134, allocations: 0.6456 MB / 0.5225 GB, free: 0.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1341, allocations: 0 / 0.5225 GB, free: 0.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1341, allocations: 0 / 0.5225 GB, free: 0.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.1341, allocations: 0 / 0.5225 GB, free: 0.668 MB / 398.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.0008865/0.1349, allocations: 0.5713 MB / 0.523 GB, free: 68 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.135, allocations: 12.03 kB / 0.523 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/0.1351, allocations: 70.72 kB / 0.5231 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.888e-05/0.1352, allocations: 44.66 kB / 0.5232 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.1354, allocations: 189.7 kB / 0.5233 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.1355, allocations: 29.31 kB / 0.5234 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.1355, allocations: 43.88 kB / 0.5234 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005952/0.1361, allocations: 374.4 kB / 0.5238 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1361, allocations: 4 kB / 0.5238 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.1361, allocations: 12 kB / 0.5238 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.1362, allocations: 15.98 kB / 0.5238 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004658/0.1366, allocations: 271.9 kB / 0.5241 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.138, allocations: 0.8307 MB / 0.5249 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.1383, allocations: 78.55 kB / 0.5249 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.1384, allocations: 44.89 kB / 0.525 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.1384, allocations: 4.094 kB / 0.525 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.1385, allocations: 34.5 kB / 0.525 GB, free: 13.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.774e-06/0.1385, allocations: 0 / 0.525 GB, free: 13.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005673/0.139, allocations: 189.4 kB / 0.5252 GB, free: 13.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.1391, allocations: 63.34 kB / 0.5253 GB, free: 13.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004572/0.1396, allocations: 409.7 kB / 0.5257 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.1396, allocations: 25.7 kB / 0.5257 GB, free: 13.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.1398, allocations: 255.6 kB / 0.5259 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.1398, allocations: 35.69 kB / 0.526 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.1399, allocations: 73.92 kB / 0.526 GB, free: 12.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.1401, allocations: 350.7 kB / 0.5264 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.1403, allocations: 60.23 kB / 0.5264 GB, free: 12.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/0.1406, allocations: 250 kB / 0.5267 GB, free: 12.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005124/0.1411, allocations: 337.6 kB / 0.527 GB, free: 11.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1411, allocations: 0 / 0.527 GB, free: 11.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006337/0.1418, allocations: 353.2 kB / 0.5273 GB, free: 11.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.1418, allocations: 8 kB / 0.5273 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.271e-05/0.1419, allocations: 32.11 kB / 0.5274 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.1419, allocations: 12 kB / 0.5274 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.1421, allocations: 51.91 kB / 0.5274 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.931e-05/0.1421, allocations: 15.94 kB / 0.5274 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.1423, allocations: 63.5 kB / 0.5275 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.1423, allocations: 20.28 kB / 0.5275 GB, free: 11.13 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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_3.geometry,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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001538/0.1425, allocations: 149.7 kB / 0.5277 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.1426, allocations: 39.72 kB / 0.5277 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005155/0.1431, allocations: 212.7 kB / 0.5279 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1431, allocations: 4 kB / 0.5279 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1431, allocations: 0 / 0.5279 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1431, allocations: 3.938 kB / 0.5279 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.1434, allocations: 236.6 kB / 0.5281 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.421e-05/0.1434, allocations: 19.98 kB / 0.5281 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.411e-05/0.1435, allocations: 12 kB / 0.5282 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1435, allocations: 11.92 kB / 0.5282 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.1435, allocations: 4 kB / 0.5282 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1435, allocations: 0 / 0.5282 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1435, allocations: 0 / 0.5282 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/0.1439, allocations: 251.2 kB / 0.5284 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/0.144, allocations: 35.69 kB / 0.5284 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/0.144, allocations: 8 kB / 0.5285 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.1441, allocations: 4 kB / 0.5285 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.1442, allocations: 15.92 kB / 0.5285 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.1442, allocations: 4 kB / 0.5285 GB, free: 10.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000279/0.1445, allocations: 275.1 kB / 0.5287 GB, free: 9.801 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1445, allocations: 0 / 0.5287 GB, free: 9.801 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005358/0.145, allocations: 123.8 kB / 0.5289 GB, free: 9.68 MB / 414.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 (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.00104/0.1461, allocations: 0.8797 MB / 0.5297 GB, free: 8.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006408/0.1467, allocations: 304.3 kB / 0.53 GB, free: 8.449 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1467, allocations: 0 / 0.53 GB, free: 8.449 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003167/0.147, allocations: 186.6 kB / 0.5302 GB, free: 8.242 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.1474, allocations: 38.08 kB / 0.5302 GB, free: 8.207 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004582/0.152, allocations: 3.463 MB / 0.5336 GB, free: 4.496 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.1522, allocations: 169.1 kB / 0.5338 GB, free: 4.309 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000102/0.1523, allocations: 34.91 kB / 0.5338 GB, free: 4.277 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.1524, allocations: 107.4 kB / 0.5339 GB, free: 4.172 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1525, allocations: 4 kB / 0.5339 GB, free: 4.168 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2489/0.4014, allocations: 12.09 MB / 0.5457 GB, free: 25.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/13.91, allocations: 5.703 kB / 0.5457 GB, free: 25.61 MB / 414.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.908739841077477] Failed to read output from testmodel.py, exit status != 0: ['time', 'Re', 'm_flow[1]', 'm_flow[2]', 'm_flow[3]', 'm_flow[4]', 'Nu[1]', 'Nu[4]', 'input_Re.y'] 14.058535477612168 14.074468995 13.937373578 Calling exit ...