Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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.001406/0.001406, allocations: 118.9 kB / 17.83 MB, free: 5.203 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.001484/0.001484, allocations: 210.3 kB / 20.8 MB, free: 2.258 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.542/1.542, allocations: 207.6 MB / 231.2 MB, free: 4.141 MB / 174.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.3586/0.3586, allocations: 44.23 MB / 327.3 MB, free: 6.699 MB / 254.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.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",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.002195/0.002195, allocations: 72.34 kB / 463 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2857, allocations: 60.99 MB / 0.5117 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002902/0.2886, allocations: 2.092 MB / 0.5137 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.2903, allocations: 1.305 MB / 0.515 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.2904, allocations: 1.938 kB / 0.515 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000309/0.2907, allocations: 77.8 kB / 0.5151 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.2909, allocations: 92.97 kB / 0.5151 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000579/0.2914, allocations: 191.1 kB / 0.5153 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004065/0.2918, allocations: 432.1 kB / 0.5157 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.054e-05/0.2919, allocations: 38.73 kB / 0.5158 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.2921, allocations: 153.3 kB / 0.5159 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.2923, allocations: 183.7 kB / 0.5161 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.2923, allocations: 16.38 kB / 0.5161 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003897/0.2927, allocations: 256.8 kB / 0.5164 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.432e-05/0.2928, allocations: 79.8 kB / 0.5164 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.2929, allocations: 164.9 kB / 0.5166 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005631/0.2935, allocations: 0.5156 MB / 0.5171 GB, free: 9.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2935, allocations: 1.438 kB / 0.5171 GB, free: 9.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2935, allocations: 0 / 0.5171 GB, free: 9.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.2935, allocations: 0 / 0.5171 GB, free: 9.145 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001106/0.2946, allocations: 0.724 MB / 0.5178 GB, free: 8.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.2947, allocations: 14.98 kB / 0.5178 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.474e-05/0.2947, allocations: 9.438 kB / 0.5178 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.348e-05/0.2948, allocations: 79.22 kB / 0.5179 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.696e-05/0.2948, allocations: 45.28 kB / 0.5179 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.2951, allocations: 294.2 kB / 0.5182 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.2951, allocations: 32.98 kB / 0.5183 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.63e-05/0.2952, allocations: 40 kB / 0.5183 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007118/0.2959, allocations: 0.5535 MB / 0.5188 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.2959, allocations: 4 kB / 0.5188 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.2959, allocations: 12 kB / 0.5188 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.296, allocations: 20.94 kB / 0.5189 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006645/0.2966, allocations: 411.6 kB / 0.5193 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.298, allocations: 1.289 MB / 0.5205 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004571/0.2984, allocations: 271.6 kB / 0.5208 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002732/0.2987, allocations: 134.6 kB / 0.5209 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.247e-05/0.2987, allocations: 11.98 kB / 0.5209 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.2988, allocations: 38.5 kB / 0.521 GB, free: 5.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 2.184e-06/0.2988, allocations: 0 / 0.521 GB, free: 5.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001049/0.2998, allocations: 465.1 kB / 0.5214 GB, free: 4.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.2998, allocations: 106.9 kB / 0.5215 GB, free: 4.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003909/0.3002, allocations: 0.4978 MB / 0.522 GB, free: 4.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.3003, allocations: 29.7 kB / 0.522 GB, free: 4.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.609e-05/0.3004, allocations: 208.2 kB / 0.5222 GB, free: 3.863 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.3004, allocations: 63.47 kB / 0.5223 GB, free: 3.801 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.56e-05/0.3005, allocations: 73.7 kB / 0.5223 GB, free: 3.723 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.668e-05/0.3006, allocations: 354.8 kB / 0.5227 GB, free: 3.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/0.3008, allocations: 128.1 kB / 0.5228 GB, free: 3.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.3011, allocations: 210.5 kB / 0.523 GB, free: 3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005971/0.3017, allocations: 365.9 kB / 0.5234 GB, free: 2.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3017, allocations: 4 kB / 0.5234 GB, free: 2.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007576/0.3025, allocations: 427.1 kB / 0.5238 GB, free: 2.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3025, allocations: 8 kB / 0.5238 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.499e-05/0.3026, allocations: 28 kB / 0.5238 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.3026, allocations: 4 kB / 0.5238 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.3028, allocations: 39.89 kB / 0.5238 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.3028, allocations: 4 kB / 0.5238 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/0.3031, allocations: 59.92 kB / 0.5239 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.3031, allocations: 15.98 kB / 0.5239 GB, free: 2.023 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001684/0.3033, allocations: 201.6 kB / 0.5241 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.275e-05/0.3034, allocations: 43.66 kB / 0.5242 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006904/0.304, allocations: 408.7 kB / 0.5245 GB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.3041, allocations: 4 kB / 0.5245 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3041, allocations: 0 / 0.5245 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3041, allocations: 3.984 kB / 0.5245 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/0.3045, allocations: 365.4 kB / 0.5249 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-05/0.3045, allocations: 27.94 kB / 0.5249 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.3047, allocations: 27.91 kB / 0.525 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3047, allocations: 7.984 kB / 0.525 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.3047, allocations: 15.94 kB / 0.525 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3047, allocations: 4 kB / 0.525 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3047, allocations: 0 / 0.525 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006871/0.3054, allocations: 0.5834 MB / 0.5255 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.603e-05/0.3055, allocations: 120.8 kB / 0.5257 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.225e-05/0.3055, allocations: 3.938 kB / 0.5257 GB, free: 132 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.3058, allocations: 23.97 kB / 0.5257 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.668e-05/0.3059, allocations: 19.98 kB / 0.5257 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.3059, allocations: 8 kB / 0.5257 GB, free: 80 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004105/0.3063, allocations: 363 kB / 0.5261 GB, free: 15.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3063, allocations: 4 kB / 0.5261 GB, free: 15.72 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006096/0.3069, allocations: 123.8 kB / 0.5262 GB, free: 15.6 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0016/0.3085, allocations: 1.197 MB / 0.5274 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.3096, allocations: 0.5268 MB / 0.5279 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3096, allocations: 0 / 0.5279 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005578/0.3101, allocations: 395.1 kB / 0.5282 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007339/0.3108, allocations: 93.55 kB / 0.5283 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007089/0.3179, allocations: 4.657 MB / 0.5329 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/0.3185, allocations: 0.8458 MB / 0.5337 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002211/0.3187, allocations: 63.23 kB / 0.5338 GB, free: 7.504 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.3189, allocations: 115.4 kB / 0.5339 GB, free: 7.391 MB / 398.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3189, allocations: 0 / 0.5339 GB, free: 7.391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03155/0.3504, allocations: 11.98 MB / 0.5456 GB, free: 11.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.699/9.05, allocations: 7.938 kB / 0.5456 GB, free: 11.4 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.97741491504712] Failed to read output from testmodel.py, exit status != 0: ['time', 'cp[1]', 'cp[2]', 'cp[3]', 'eta[1]', 'eta[2]', 'eta[3]', 'lambda[1]', 'lambda[2]', 'lambda[3]', 'rho[1]', 'rho[2]', 'rho[3]', 'Re_1[1]', 'Re_1[2]', 'Re_1[3]', 'Nu_1[1]', 'Nu_1[2]', 'Nu_1[3]', 'Nu_2[1]', 'Nu_2[2]', 'Nu_2[3]', 'Nu_3[1]', 'Nu_3[2]', 'Nu_3[3]', 'm_flow[1]', 'm_flow[2]', 'm_flow[3]', 'input_mflow_0.y', 'input_mflow_1.y', 'input_mflow_2.y'] 9.178820833971258 9.194078119 8.89767413 Calling exit ...