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.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001415/0.001415, allocations: 105.7 kB / 19.74 MB, free: 2.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001713/0.001713, allocations: 214.7 kB / 22.92 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 230.2 MB / 256.2 MB, free: 8.574 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1956/0.1956, allocations: 46.89 MB / 359.3 MB, free: 5.027 MB / 286.1 MB " [Timeout remaining time 180] 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.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002105/0.002105, allocations: 87.86 kB / 0.494 GB, free: 9.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2586, allocations: 65.98 MB / 0.5584 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.00309/0.2617, allocations: 2.113 MB / 0.5605 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.2636, allocations: 1.332 MB / 0.5618 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.099e-05/0.2637, allocations: 4 kB / 0.5618 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.2639, allocations: 75.58 kB / 0.5619 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.2641, allocations: 95.38 kB / 0.562 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005108/0.2646, allocations: 211 kB / 0.5622 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004491/0.265, allocations: 426 kB / 0.5626 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.207e-05/0.2651, allocations: 16.73 kB / 0.5626 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.2653, allocations: 151.2 kB / 0.5627 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.2655, allocations: 179 kB / 0.5629 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.2656, allocations: 12 kB / 0.5629 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004523/0.266, allocations: 271.6 kB / 0.5632 GB, free: 332 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.339e-05/0.2661, allocations: 87.53 kB / 0.5633 GB, free: 244 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.2663, allocations: 162.9 kB / 0.5634 GB, free: 80 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006161/0.2669, allocations: 0.5308 MB / 0.5639 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.2669, allocations: 0 / 0.5639 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2669, allocations: 0 / 0.5639 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.2669, allocations: 0 / 0.5639 GB, free: 15.55 MB / 414.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.00103/0.2679, allocations: 0.7322 MB / 0.5646 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.268, allocations: 8.031 kB / 0.5646 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.186e-05/0.268, allocations: 86.7 kB / 0.5647 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003597/0.2684, allocations: 80.61 kB / 0.5648 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.2687, allocations: 280.3 kB / 0.5651 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.2687, allocations: 29 kB / 0.5651 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/0.2688, allocations: 36 kB / 0.5651 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008362/0.2696, allocations: 0.5613 MB / 0.5657 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.2696, allocations: 4 kB / 0.5657 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.2697, allocations: 15.98 kB / 0.5657 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.892e-05/0.2697, allocations: 24.92 kB / 0.5657 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007644/0.2705, allocations: 419.6 kB / 0.5661 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.2721, allocations: 1.282 MB / 0.5674 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/0.2726, allocations: 271.6 kB / 0.5676 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.2729, allocations: 138.4 kB / 0.5678 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.2729, allocations: 4 kB / 0.5678 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.273, allocations: 50.48 kB / 0.5678 GB, free: 11.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.572e-06/0.273, allocations: 112 / 0.5678 GB, free: 11.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001116/0.2741, allocations: 464 kB / 0.5683 GB, free: 10.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.2741, allocations: 110.8 kB / 0.5684 GB, free: 10.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005203/0.2747, allocations: 0.4978 MB / 0.5689 GB, free: 10.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.2747, allocations: 29.7 kB / 0.5689 GB, free: 10.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.2748, allocations: 200.3 kB / 0.5691 GB, free: 10 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.655e-05/0.2749, allocations: 67.42 kB / 0.5691 GB, free: 9.934 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.275, allocations: 65.69 kB / 0.5692 GB, free: 9.863 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2751, allocations: 354.8 kB / 0.5695 GB, free: 9.508 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/0.2755, allocations: 136.1 kB / 0.5697 GB, free: 9.371 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.2758, allocations: 210.6 kB / 0.5699 GB, free: 9.129 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000693/0.2765, allocations: 353.9 kB / 0.5702 GB, free: 8.746 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2765, allocations: 4 kB / 0.5702 GB, free: 8.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008416/0.2774, allocations: 428.1 kB / 0.5706 GB, free: 8.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2774, allocations: 15.97 kB / 0.5706 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.846e-05/0.2774, allocations: 28 kB / 0.5707 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.2775, allocations: 7.938 kB / 0.5707 GB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.2776, allocations: 35.95 kB / 0.5707 GB, free: 8.234 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.2776, allocations: 7.938 kB / 0.5707 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.2779, allocations: 55.59 kB / 0.5708 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.2779, allocations: 19.98 kB / 0.5708 GB, free: 8.152 MB / 414.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.0001979/0.2781, allocations: 193.8 kB / 0.571 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.2782, allocations: 43.66 kB / 0.571 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007808/0.279, allocations: 396.8 kB / 0.5714 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.279, allocations: 4 kB / 0.5714 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.279, allocations: 4 kB / 0.5714 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.279, allocations: 7.984 kB / 0.5714 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005151/0.2795, allocations: 361.3 kB / 0.5718 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.706e-05/0.2796, allocations: 35.98 kB / 0.5718 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.2797, allocations: 31.84 kB / 0.5718 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2797, allocations: 0 / 0.5718 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.2797, allocations: 12 kB / 0.5718 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2797, allocations: 0 / 0.5718 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.2798, allocations: 4 kB / 0.5718 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000842/0.2806, allocations: 0.5856 MB / 0.5724 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.2807, allocations: 116.8 kB / 0.5725 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.2807, allocations: 8 kB / 0.5725 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.281, allocations: 19.97 kB / 0.5725 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.2811, allocations: 19.98 kB / 0.5726 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.2811, allocations: 12 kB / 0.5726 GB, free: 6.219 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003825/0.2815, allocations: 371 kB / 0.5729 GB, free: 5.859 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2815, allocations: 0 / 0.5729 GB, free: 5.859 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004789/0.282, allocations: 123.7 kB / 0.573 GB, free: 5.738 MB / 414.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.001318/0.2833, allocations: 1.206 MB / 0.5742 GB, free: 4.504 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008738/0.2841, allocations: 0.5301 MB / 0.5747 GB, free: 3.918 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2841, allocations: 0 / 0.5747 GB, free: 3.918 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004916/0.2846, allocations: 387.8 kB / 0.5751 GB, free: 3.484 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005834/0.2852, allocations: 93.5 kB / 0.5752 GB, free: 3.395 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005943/0.2912, allocations: 4.67 MB / 0.5798 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/0.2916, allocations: 0.8497 MB / 0.5806 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.2918, allocations: 63.22 kB / 0.5806 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.2919, allocations: 111.4 kB / 0.5808 GB, free: 13.51 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2919, allocations: 4 kB / 0.5808 GB, free: 13.51 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03383/0.3257, allocations: 11.92 MB / 0.5924 GB, free: 1.738 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.536/7.862, allocations: 3.375 kB / 0.5924 GB, free: 1.738 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.353390793010476]