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_KC.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.001442/0.001442, 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.001542/0.001542, allocations: 220.1 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.293/1.293, allocations: 230.2 MB / 256.2 MB, free: 8.766 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.1971/0.1971, allocations: 46.88 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_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",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.002122/0.002122, allocations: 83.84 kB / 0.494 GB, free: 9.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.256, allocations: 65.98 MB / 0.5584 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.003149/0.2591, allocations: 2.163 MB / 0.5606 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.2605, allocations: 0.9113 MB / 0.5614 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.851e-05/0.2606, allocations: 4 kB / 0.5614 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.2608, allocations: 67.58 kB / 0.5615 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003438/0.2611, allocations: 143.3 kB / 0.5617 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.2614, allocations: 95.64 kB / 0.5617 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004624/0.2618, allocations: 469.7 kB / 0.5622 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.342e-05/0.2619, allocations: 18.58 kB / 0.5622 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.2621, allocations: 179.1 kB / 0.5624 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.2624, allocations: 226.9 kB / 0.5626 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.323e-05/0.2624, allocations: 12 kB / 0.5626 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003964/0.2628, allocations: 255.6 kB / 0.5629 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.2629, allocations: 115.4 kB / 0.563 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.2631, allocations: 178.8 kB / 0.5631 GB, free: 408 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000604/0.2637, allocations: 0.5289 MB / 0.5636 GB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2637, allocations: 4 kB / 0.5637 GB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2637, allocations: 0 / 0.5637 GB, free: 15.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.2637, allocations: 0 / 0.5637 GB, free: 15.86 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001084/0.2648, allocations: 0.7324 MB / 0.5644 GB, free: 15.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.2648, allocations: 8.031 kB / 0.5644 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.2649, allocations: 98.69 kB / 0.5645 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.719e-05/0.265, allocations: 48.61 kB / 0.5645 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.2653, allocations: 299.5 kB / 0.5648 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.2654, allocations: 45.34 kB / 0.5648 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.738e-05/0.2654, allocations: 47.92 kB / 0.5649 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009932/0.2664, allocations: 0.6562 MB / 0.5655 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.2664, allocations: 0 / 0.5655 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.243e-05/0.2665, allocations: 19.98 kB / 0.5655 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.461e-05/0.2665, allocations: 53.28 kB / 0.5656 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.2676, allocations: 0.692 MB / 0.5663 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.2695, allocations: 1.353 MB / 0.5676 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007372/0.2702, allocations: 436.4 kB / 0.568 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.2705, allocations: 153.2 kB / 0.5682 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.2705, allocations: 8.234 kB / 0.5682 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.2706, allocations: 38.78 kB / 0.5682 GB, free: 11.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.242e-06/0.2706, allocations: 0 / 0.5682 GB, free: 11.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001043/0.2716, allocations: 0.5335 MB / 0.5687 GB, free: 10.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.2717, allocations: 55.41 kB / 0.5688 GB, free: 10.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005311/0.2722, allocations: 0.4897 MB / 0.5693 GB, free: 9.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.2722, allocations: 33.7 kB / 0.5693 GB, free: 9.871 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.2724, allocations: 216.7 kB / 0.5695 GB, free: 9.656 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.176e-05/0.2725, allocations: 107.2 kB / 0.5696 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.2726, allocations: 85.95 kB / 0.5697 GB, free: 9.457 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.2727, allocations: 358.7 kB / 0.57 GB, free: 9.098 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.273, allocations: 152.5 kB / 0.5702 GB, free: 8.949 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/0.2734, allocations: 251.5 kB / 0.5704 GB, free: 8.668 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006794/0.2741, allocations: 435.6 kB / 0.5708 GB, free: 8.203 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2741, allocations: 3.938 kB / 0.5708 GB, free: 8.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008438/0.2749, allocations: 493 kB / 0.5713 GB, free: 7.711 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.2749, allocations: 11.94 kB / 0.5713 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2749, allocations: 4 kB / 0.5713 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.275, allocations: 7.984 kB / 0.5713 GB, free: 7.688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009168/0.2759, allocations: 195.8 kB / 0.5715 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004039/0.2799, allocations: 7.31 MB / 0.5786 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.2802, allocations: 63.5 kB / 0.5787 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.2803, allocations: 23.98 kB / 0.5787 GB, free: 15.82 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002445/0.2805, allocations: 214.3 kB / 0.5789 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.717e-05/0.2806, allocations: 47.66 kB / 0.579 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.2816, allocations: 0.533 MB / 0.5795 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.2816, allocations: 11.92 kB / 0.5795 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2816, allocations: 0 / 0.5795 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.2816, allocations: 7.984 kB / 0.5795 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004942/0.2821, allocations: 417.2 kB / 0.5799 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2821, allocations: 3.984 kB / 0.5799 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008271/0.283, allocations: 191.9 kB / 0.5801 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.283, allocations: 0 / 0.5801 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.283, allocations: 15.98 kB / 0.5801 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004044/0.287, allocations: 7.29 MB / 0.5872 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.287, allocations: 3.938 kB / 0.5872 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007851/0.2878, allocations: 0.5079 MB / 0.5877 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.2879, allocations: 124.8 kB / 0.5879 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.355e-05/0.288, allocations: 8 kB / 0.5879 GB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.2882, allocations: 8 kB / 0.5879 GB, free: 6.074 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.242e-05/0.2883, allocations: 31.89 kB / 0.5879 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.2883, allocations: 12 kB / 0.5879 GB, free: 6.031 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003868/0.2887, allocations: 355.1 kB / 0.5883 GB, free: 5.688 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2887, allocations: 4 kB / 0.5883 GB, free: 5.684 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000496/0.2892, allocations: 127.8 kB / 0.5884 GB, free: 5.559 MB / 430.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001209/0.2904, allocations: 1.071 MB / 0.5894 GB, free: 4.461 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.2919, allocations: 0.524 MB / 0.5899 GB, free: 3.938 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2919, allocations: 0 / 0.5899 GB, free: 3.938 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009932/0.2929, allocations: 323.7 kB / 0.5902 GB, free: 3.621 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/0.2934, allocations: 121.2 kB / 0.5904 GB, free: 3.504 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005909/0.2993, allocations: 4.886 MB / 0.5951 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/0.2997, allocations: 0.8738 MB / 0.596 GB, free: 13.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002929/0.3, allocations: 140.1 kB / 0.5961 GB, free: 13.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.3002, allocations: 135.4 kB / 0.5962 GB, free: 13.29 MB / 446.1 MB Notification: Performance of SimCode: time 4.7e-07/0.3002, allocations: 0 / 0.5962 GB, free: 13.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03668/0.3369, allocations: 13.75 MB / 0.6097 GB, free: 15.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.19, allocations: 7.797 kB / 0.6097 GB, free: 15.7 MB / 462.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.742671254003653]