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.StraightPipe.kc_laminar.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.001418/0.001418, allocations: 105.5 kB / 19.74 MB, free: 2.566 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.001582/0.001582, allocations: 220.7 kB / 22.92 MB, free: 5.535 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.31/1.31, allocations: 230.2 MB / 256.2 MB, free: 8.75 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.1977/0.1977, allocations: 46.9 MB / 359.3 MB, free: 4.984 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.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",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.002067/0.002067, allocations: 83.84 kB / 0.494 GB, free: 9.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2588, allocations: 65.98 MB / 0.5584 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003382/0.2622, allocations: 2.23 MB / 0.5606 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.2641, allocations: 1.207 MB / 0.5618 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.803e-05/0.2642, allocations: 4 kB / 0.5618 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.2645, allocations: 59.61 kB / 0.5619 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002418/0.2647, allocations: 111.3 kB / 0.562 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.2652, allocations: 198.8 kB / 0.5622 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005442/0.2657, allocations: 0.4899 MB / 0.5626 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.532e-05/0.2658, allocations: 18.92 kB / 0.5627 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002521/0.266, allocations: 183 kB / 0.5628 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.2663, allocations: 203 kB / 0.563 GB, free: 500 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.2663, allocations: 12 kB / 0.563 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005404/0.2669, allocations: 335.5 kB / 0.5634 GB, free: 152 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.267, allocations: 99.47 kB / 0.5634 GB, free: 52 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.2672, allocations: 194.7 kB / 0.5636 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00072/0.2679, allocations: 0.5952 MB / 0.5642 GB, free: 15.26 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2679, allocations: 3.984 kB / 0.5642 GB, free: 15.26 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2679, allocations: 0 / 0.5642 GB, free: 15.26 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.2679, allocations: 0 / 0.5642 GB, free: 15.26 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001208/0.2691, allocations: 0.7674 MB / 0.565 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2692, allocations: 15.97 kB / 0.565 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.2693, allocations: 86.7 kB / 0.5651 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003699/0.2696, allocations: 88.56 kB / 0.5652 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/0.27, allocations: 311.7 kB / 0.5654 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.27, allocations: 29.38 kB / 0.5655 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.525e-05/0.2701, allocations: 51.92 kB / 0.5655 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009894/0.2711, allocations: 0.6519 MB / 0.5662 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.2711, allocations: 0 / 0.5662 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/0.2711, allocations: 24 kB / 0.5662 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/0.2712, allocations: 28.98 kB / 0.5662 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00088/0.2721, allocations: 479.5 kB / 0.5667 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.274, allocations: 1.516 MB / 0.5682 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005587/0.2746, allocations: 291.6 kB / 0.5684 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.2749, allocations: 142.4 kB / 0.5686 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.755e-05/0.275, allocations: 15.98 kB / 0.5686 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.275, allocations: 34.55 kB / 0.5686 GB, free: 10.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.275, allocations: 0 / 0.5686 GB, free: 10.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.001201/0.2762, allocations: 0.4959 MB / 0.5691 GB, free: 10.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/0.2763, allocations: 114.7 kB / 0.5692 GB, free: 9.895 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005973/0.2769, allocations: 0.5371 MB / 0.5697 GB, free: 9.348 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.877e-05/0.2769, allocations: 33.7 kB / 0.5698 GB, free: 9.309 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.2771, allocations: 236.1 kB / 0.57 GB, free: 9.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/0.2772, allocations: 75.31 kB / 0.5701 GB, free: 8.996 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.2773, allocations: 81.92 kB / 0.5701 GB, free: 8.906 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.2775, allocations: 358.8 kB / 0.5705 GB, free: 8.547 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.2779, allocations: 152.1 kB / 0.5706 GB, free: 8.398 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004541/0.2783, allocations: 284.5 kB / 0.5709 GB, free: 8.066 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008262/0.2791, allocations: 449.6 kB / 0.5713 GB, free: 7.574 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2791, allocations: 0 / 0.5713 GB, free: 7.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001006/0.2802, allocations: 0.4895 MB / 0.5718 GB, free: 7.078 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2802, allocations: 15.97 kB / 0.5718 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.796e-05/0.2802, allocations: 39.98 kB / 0.5719 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2803, allocations: 11.94 kB / 0.5719 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.2805, allocations: 39.89 kB / 0.5719 GB, free: 6.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.2805, allocations: 11.94 kB / 0.5719 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.2808, allocations: 71.48 kB / 0.572 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/0.2808, allocations: 20 kB / 0.572 GB, free: 6.871 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,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 (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002311/0.281, allocations: 217.6 kB / 0.5722 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.2811, allocations: 43.72 kB / 0.5723 GB, free: 6.605 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00086/0.282, allocations: 449 kB / 0.5727 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.282, allocations: 4 kB / 0.5727 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.282, allocations: 4 kB / 0.5727 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.282, allocations: 0 / 0.5727 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/0.2826, allocations: 389.3 kB / 0.5731 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.95e-05/0.2827, allocations: 35.98 kB / 0.5731 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.2828, allocations: 27.97 kB / 0.5731 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.2828, allocations: 4 kB / 0.5731 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.2828, allocations: 15.94 kB / 0.5731 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2828, allocations: 0 / 0.5731 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2828, allocations: 4 kB / 0.5731 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008936/0.2837, allocations: 0.6035 MB / 0.5737 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.2839, allocations: 132.8 kB / 0.5739 GB, free: 4.867 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.786e-05/0.2839, allocations: 7.922 kB / 0.5739 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/0.2842, allocations: 19.98 kB / 0.5739 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.778e-05/0.2843, allocations: 27.97 kB / 0.5739 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.2843, allocations: 8 kB / 0.5739 GB, free: 4.805 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004189/0.2847, allocations: 399 kB / 0.5743 GB, free: 4.422 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2847, allocations: 0 / 0.5743 GB, free: 4.422 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005197/0.2852, allocations: 139.7 kB / 0.5744 GB, free: 4.285 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001332/0.2866, allocations: 1.211 MB / 0.5756 GB, free: 3.051 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009982/0.2876, allocations: 0.6649 MB / 0.5763 GB, free: 2.312 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2876, allocations: 0 / 0.5763 GB, free: 2.312 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005338/0.2881, allocations: 480.2 kB / 0.5767 GB, free: 1.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006649/0.2888, allocations: 124.6 kB / 0.5768 GB, free: 1.652 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006835/0.2956, allocations: 5.179 MB / 0.5819 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.2961, allocations: 0.8699 MB / 0.5828 GB, free: 11.37 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002063/0.2963, allocations: 83.36 kB / 0.5828 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.2965, allocations: 123.4 kB / 0.5829 GB, free: 11.16 MB / 430.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2965, allocations: 0 / 0.5829 GB, free: 11.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03422/0.3307, allocations: 13.08 MB / 0.5957 GB, free: 14.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.605/7.935, allocations: 12.48 kB / 0.5957 GB, free: 14.21 MB / 446.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.48342064600729]