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.002116/0.002116, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002141/0.002141, allocations: 216.5 kB / 23.78 MB, free: 4.551 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.496/1.496, allocations: 207.7 MB / 234.6 MB, free: 9.801 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.2106/0.2106, allocations: 44.26 MB / 331.1 MB, free: 9.309 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="cs",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="cs",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.002163/0.002163, allocations: 71.89 kB / 468.3 MB, free: 4.297 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1265, allocations: 61.04 MB / 0.517 GB, free: 7.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.0047/0.1312, allocations: 2.48 MB / 0.5194 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003352/0.1346, allocations: 1.609 MB / 0.521 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002558/0.1348, allocations: 0 / 0.521 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004701/0.1353, allocations: 107.2 kB / 0.5211 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004179/0.1357, allocations: 130.9 kB / 0.5212 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.1368, allocations: 350.7 kB / 0.5215 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004506/0.1373, allocations: 266.1 kB / 0.5218 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.52e-05/0.1374, allocations: 16.92 kB / 0.5218 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.1375, allocations: 99.36 kB / 0.5219 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.1377, allocations: 111.2 kB / 0.522 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.1377, allocations: 4 kB / 0.522 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.1389, allocations: 0.5267 MB / 0.5225 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.391e-05/0.139, allocations: 47.66 kB / 0.5226 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.1392, allocations: 99.3 kB / 0.5226 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.1402, allocations: 0.6495 MB / 0.5233 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1402, allocations: 0 / 0.5233 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1402, allocations: 0 / 0.5233 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.1402, allocations: 0 / 0.5233 GB, free: 0.6211 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.0009867/0.1412, allocations: 0.5713 MB / 0.5238 GB, free: 20 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.1412, allocations: 8.031 kB / 0.5238 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.886e-05/0.1413, allocations: 9.188 kB / 0.5239 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.384e-05/0.1413, allocations: 78.7 kB / 0.5239 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.134e-05/0.1414, allocations: 44.66 kB / 0.524 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.1417, allocations: 193.7 kB / 0.5242 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.432e-05/0.1417, allocations: 29.12 kB / 0.5242 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.1418, allocations: 36 kB / 0.5242 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006355/0.1424, allocations: 370.5 kB / 0.5246 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1424, allocations: 0 / 0.5246 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.1425, allocations: 16 kB / 0.5246 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.1425, allocations: 8 kB / 0.5246 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005079/0.143, allocations: 279.8 kB / 0.5249 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.1446, allocations: 0.8268 MB / 0.5257 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.1448, allocations: 90.47 kB / 0.5258 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.145, allocations: 36.91 kB / 0.5258 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.976e-05/0.145, allocations: 3.984 kB / 0.5258 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.145, allocations: 30.56 kB / 0.5258 GB, free: 13.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 2.174e-06/0.145, allocations: 4 kB / 0.5258 GB, free: 13.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006206/0.1457, allocations: 193.4 kB / 0.526 GB, free: 13.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.1457, allocations: 51.41 kB / 0.5261 GB, free: 13.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004964/0.1462, allocations: 405.8 kB / 0.5264 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.1462, allocations: 25.98 kB / 0.5265 GB, free: 13.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.1464, allocations: 251.7 kB / 0.5267 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.953e-05/0.1465, allocations: 31.73 kB / 0.5267 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.1467, allocations: 77.83 kB / 0.5268 GB, free: 12.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.1468, allocations: 350.7 kB / 0.5272 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.147, allocations: 64.23 kB / 0.5272 GB, free: 12.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/0.1474, allocations: 246 kB / 0.5274 GB, free: 12.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005486/0.1479, allocations: 341.3 kB / 0.5278 GB, free: 11.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.1479, allocations: 0 / 0.5278 GB, free: 11.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007374/0.1487, allocations: 349.2 kB / 0.5281 GB, free: 11.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.1487, allocations: 8 kB / 0.5281 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.718e-05/0.1488, allocations: 28 kB / 0.5281 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.757e-05/0.1488, allocations: 8 kB / 0.5281 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.149, allocations: 59.84 kB / 0.5282 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.172e-05/0.149, allocations: 15.92 kB / 0.5282 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/0.1493, allocations: 59.92 kB / 0.5283 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/0.1494, allocations: 31.88 kB / 0.5283 GB, free: 11.09 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.0001813/0.1495, allocations: 153.6 kB / 0.5285 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.718e-05/0.1496, allocations: 35.77 kB / 0.5285 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005949/0.1502, allocations: 205 kB / 0.5287 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.1502, allocations: 4 kB / 0.5287 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.1502, allocations: 4 kB / 0.5287 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1502, allocations: 3.938 kB / 0.5287 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.1507, allocations: 240.6 kB / 0.5289 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.773e-05/0.1507, allocations: 24 kB / 0.5289 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.1508, allocations: 11.98 kB / 0.529 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1508, allocations: 0 / 0.529 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.1508, allocations: 4 kB / 0.529 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1508, allocations: 0 / 0.529 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1508, allocations: 3.938 kB / 0.529 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004792/0.1513, allocations: 255.1 kB / 0.5292 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.1514, allocations: 43.64 kB / 0.5293 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.572e-05/0.1515, allocations: 0 / 0.5293 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.1516, allocations: 11.98 kB / 0.5293 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.1517, allocations: 4 kB / 0.5293 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.1517, allocations: 8 kB / 0.5293 GB, free: 10.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000361/0.152, allocations: 275.1 kB / 0.5295 GB, free: 9.758 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.152, allocations: 0 / 0.5295 GB, free: 9.758 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006915/0.1527, allocations: 123.8 kB / 0.5297 GB, free: 9.637 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.00137/0.1541, allocations: 0.8758 MB / 0.5305 GB, free: 8.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007114/0.1548, allocations: 304.2 kB / 0.5308 GB, free: 8.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1548, allocations: 4 kB / 0.5308 GB, free: 8.406 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003386/0.1552, allocations: 182.6 kB / 0.531 GB, free: 8.203 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.1556, allocations: 38.02 kB / 0.531 GB, free: 8.168 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005183/0.1608, allocations: 3.463 MB / 0.5344 GB, free: 4.453 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.161, allocations: 173.1 kB / 0.5346 GB, free: 4.266 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.1611, allocations: 38.89 kB / 0.5346 GB, free: 4.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.1612, allocations: 107.4 kB / 0.5347 GB, free: 4.125 MB / 414.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1612, allocations: 0 / 0.5347 GB, free: 4.125 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2335/0.3947, allocations: 11.8 MB / 0.5462 GB, free: 25.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.19, allocations: 8.047 kB / 0.5462 GB, free: 25.9 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: 17.206906273029745] 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.368810271960683 14.393178094 14.248475051 Calling exit ...