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_flatTube.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.001328/0.001328, 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.001496/0.001496, allocations: 212.8 kB / 23.77 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.409/1.409, allocations: 207.7 MB / 234.6 MB, free: 9.785 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.212/0.212, allocations: 44.24 MB / 331.1 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_flatTube,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",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.002206/0.002206, allocations: 73.72 kB / 468.3 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1193, allocations: 61.05 MB / 0.5169 GB, free: 7.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.004035/0.1234, allocations: 2.035 MB / 0.5189 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.1254, allocations: 1.266 MB / 0.5202 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.432e-05/0.1255, allocations: 3.938 kB / 0.5202 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.1259, allocations: 71.48 kB / 0.5202 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.1261, allocations: 75.41 kB / 0.5203 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006103/0.1267, allocations: 219 kB / 0.5205 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.1269, allocations: 147 kB / 0.5207 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.544e-05/0.127, allocations: 12.58 kB / 0.5207 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.1271, allocations: 59.66 kB / 0.5207 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.1272, allocations: 71.53 kB / 0.5208 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1272, allocations: 4 kB / 0.5208 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004005/0.1276, allocations: 223.7 kB / 0.521 GB, free: 2.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.1277, allocations: 19.86 kB / 0.521 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.605e-05/0.1278, allocations: 59.55 kB / 0.5211 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005679/0.1283, allocations: 370.4 kB / 0.5214 GB, free: 2.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1283, allocations: 0 / 0.5214 GB, free: 2.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1283, allocations: 0 / 0.5214 GB, free: 2.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1283, allocations: 4 kB / 0.5214 GB, free: 2.512 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006987/0.129, allocations: 425.1 kB / 0.5219 GB, free: 2.066 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.1291, allocations: 16.03 kB / 0.5219 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.012e-05/0.1291, allocations: 8.125 kB / 0.5219 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.216e-05/0.1292, allocations: 54.72 kB / 0.5219 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.1292, allocations: 24.8 kB / 0.522 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.1294, allocations: 158 kB / 0.5221 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.1294, allocations: 20.12 kB / 0.5221 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.1295, allocations: 16 kB / 0.5221 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/0.1299, allocations: 210.4 kB / 0.5223 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1299, allocations: 0 / 0.5223 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.1299, allocations: 8 kB / 0.5223 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.1299, allocations: 15.97 kB / 0.5224 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003166/0.1302, allocations: 148.2 kB / 0.5225 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008802/0.1311, allocations: 0.5253 MB / 0.523 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.1313, allocations: 54.55 kB / 0.5231 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.1315, allocations: 32.89 kB / 0.5231 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/0.1315, allocations: 0 / 0.5231 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.1315, allocations: 42.55 kB / 0.5231 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.1315, allocations: 0 / 0.5231 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004849/0.132, allocations: 125.5 kB / 0.5233 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.1321, allocations: 55.41 kB / 0.5233 GB, free: 460 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.1323, allocations: 265.8 kB / 0.5236 GB, free: 184 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.1324, allocations: 25.7 kB / 0.5236 GB, free: 152 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.1325, allocations: 172.1 kB / 0.5238 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.1326, allocations: 15.91 kB / 0.5238 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-05/0.1326, allocations: 45.66 kB / 0.5238 GB, free: 15.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1328, allocations: 338.5 kB / 0.5241 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.1329, allocations: 35.97 kB / 0.5242 GB, free: 15.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.1332, allocations: 128.9 kB / 0.5243 GB, free: 15.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.1335, allocations: 184.6 kB / 0.5245 GB, free: 15.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1335, allocations: 0 / 0.5245 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000424/0.1339, allocations: 201.4 kB / 0.5247 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1339, allocations: 8 kB / 0.5247 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.795e-05/0.134, allocations: 16 kB / 0.5247 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.134, allocations: 8.422 kB / 0.5247 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.1341, allocations: 35.92 kB / 0.5247 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.1341, allocations: 4 kB / 0.5247 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.1342, allocations: 39.7 kB / 0.5248 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.1343, allocations: 8 kB / 0.5248 GB, free: 14.82 MB / 414.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.0001196/0.1344, allocations: 129.7 kB / 0.5249 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.1344, allocations: 23.86 kB / 0.5249 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003768/0.1348, allocations: 135 kB / 0.5251 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1348, allocations: 0 / 0.5251 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.1348, allocations: 0 / 0.5251 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1348, allocations: 3.938 kB / 0.5251 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.1351, allocations: 184.7 kB / 0.5252 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/0.1351, allocations: 15.98 kB / 0.5252 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-05/0.1351, allocations: 8 kB / 0.5253 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1351, allocations: 0 / 0.5253 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.1351, allocations: 0 / 0.5253 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1351, allocations: 7.938 kB / 0.5253 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1351, allocations: 3.938 kB / 0.5253 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.1355, allocations: 211.3 kB / 0.5255 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.1355, allocations: 11.91 kB / 0.5255 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.1355, allocations: 4 kB / 0.5255 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.998e-05/0.1356, allocations: 3.984 kB / 0.5255 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.1357, allocations: 11.98 kB / 0.5255 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.1357, allocations: 7.938 kB / 0.5255 GB, free: 13.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001647/0.1359, allocations: 177.2 kB / 0.5257 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1359, allocations: 0 / 0.5257 GB, free: 13.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003862/0.1362, allocations: 83.75 kB / 0.5258 GB, free: 13.74 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 (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.000926/0.1372, allocations: 0.7941 MB / 0.5265 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004605/0.1376, allocations: 172.1 kB / 0.5267 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1376, allocations: 0 / 0.5267 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.1378, allocations: 99.38 kB / 0.5268 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.1382, allocations: 33.27 kB / 0.5268 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.1412, allocations: 2.38 MB / 0.5291 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.1413, allocations: 124.9 kB / 0.5293 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.573e-05/0.1413, allocations: 13.48 kB / 0.5293 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.895e-05/0.1414, allocations: 63.41 kB / 0.5293 GB, free: 9.828 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1414, allocations: 0 / 0.5293 GB, free: 9.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0276/0.169, allocations: 6.748 MB / 0.5359 GB, free: 3.094 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/13.48, allocations: 7.812 kB / 0.5359 GB, free: 3.09 MB / 414.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.712993703084067] Failed to read output from testmodel.py, exit status != 0: ['time', 'Re', 'm_flow[1]', 'm_flow[2]', 'Nu[1]', 'Nu[2]', 'input_Re.y'] 13.655819707899354 13.895835789 13.764694825 Calling exit ...