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_overall_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.001406/0.001406, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.001541/0.001541, allocations: 221.2 kB / 22.92 MB, free: 5.559 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.289/1.289, allocations: 230.2 MB / 256.1 MB, free: 8.613 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.1988/0.1988, allocations: 46.89 MB / 359.3 MB, free: 4.934 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_overall_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_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.00215/0.00215, allocations: 79.88 kB / 0.494 GB, free: 9.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2533, allocations: 65.98 MB / 0.5584 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.00312/0.2564, allocations: 2.221 MB / 0.5606 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.2589, allocations: 1.873 MB / 0.5624 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.848e-05/0.259, allocations: 0 / 0.5624 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.2592, allocations: 79.52 kB / 0.5625 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.2596, allocations: 147.3 kB / 0.5627 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007111/0.2603, allocations: 350.6 kB / 0.563 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004759/0.2608, allocations: 0.4897 MB / 0.5635 GB, free: 24 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.77e-05/0.2608, allocations: 18.92 kB / 0.5635 GB, free: 4 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.2611, allocations: 191 kB / 0.5637 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.2614, allocations: 234.8 kB / 0.5639 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.2614, allocations: 12 kB / 0.5639 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008901/0.2623, allocations: 0.6045 MB / 0.5645 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.2624, allocations: 119.4 kB / 0.5646 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.2626, allocations: 194.6 kB / 0.5648 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008832/0.2635, allocations: 0.7898 MB / 0.5656 GB, free: 13.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.2635, allocations: 0 / 0.5656 GB, free: 13.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2635, allocations: 0 / 0.5656 GB, free: 13.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.2635, allocations: 0 / 0.5656 GB, free: 13.87 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001149/0.2646, allocations: 0.8218 MB / 0.5664 GB, free: 12.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.2647, allocations: 16.03 kB / 0.5664 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/0.2648, allocations: 110.7 kB / 0.5665 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.647e-05/0.2649, allocations: 60.55 kB / 0.5665 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.2652, allocations: 311.6 kB / 0.5668 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.2652, allocations: 41.67 kB / 0.5669 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.724e-05/0.2653, allocations: 47.94 kB / 0.5669 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.2663, allocations: 0.7598 MB / 0.5677 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.2664, allocations: 7.938 kB / 0.5677 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/0.2664, allocations: 20 kB / 0.5677 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.406e-05/0.2665, allocations: 61.22 kB / 0.5678 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.2676, allocations: 0.7975 MB / 0.5685 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002155/0.2698, allocations: 1.525 MB / 0.57 GB, free: 9.137 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007464/0.2705, allocations: 448.4 kB / 0.5704 GB, free: 8.691 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.2708, allocations: 145.2 kB / 0.5706 GB, free: 8.547 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.2709, allocations: 16.2 kB / 0.5706 GB, free: 8.531 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.2709, allocations: 38.73 kB / 0.5706 GB, free: 8.484 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.283e-06/0.2709, allocations: 0 / 0.5706 GB, free: 8.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001069/0.2719, allocations: 0.542 MB / 0.5712 GB, free: 7.938 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.272, allocations: 59.34 kB / 0.5712 GB, free: 7.867 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005966/0.2726, allocations: 0.5836 MB / 0.5718 GB, free: 7.273 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.2726, allocations: 29.7 kB / 0.5718 GB, free: 7.238 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.2728, allocations: 280.1 kB / 0.5721 GB, free: 6.961 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.662e-05/0.2729, allocations: 115 kB / 0.5722 GB, free: 6.848 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.273, allocations: 122.2 kB / 0.5723 GB, free: 6.719 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.2732, allocations: 362.8 kB / 0.5727 GB, free: 6.355 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.2735, allocations: 188.9 kB / 0.5728 GB, free: 6.172 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005157/0.2741, allocations: 444.9 kB / 0.5733 GB, free: 5.625 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009004/0.275, allocations: 0.6554 MB / 0.5739 GB, free: 4.855 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.275, allocations: 4 kB / 0.5739 GB, free: 4.852 MB / 414.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001098/0.2761, allocations: 0.6801 MB / 0.5746 GB, free: 4.164 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.2761, allocations: 8 kB / 0.5746 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2761, allocations: 8 kB / 0.5746 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.2761, allocations: 12.81 kB / 0.5746 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009895/0.2771, allocations: 251.8 kB / 0.5748 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004118/0.2812, allocations: 7.31 MB / 0.582 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000421/0.2816, allocations: 87.3 kB / 0.5821 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.377e-05/0.2817, allocations: 40.27 kB / 0.5821 GB, free: 12.18 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,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 (64): * Single equations (assignments): 52 * 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.0003052/0.282, allocations: 261.5 kB / 0.5824 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.2821, allocations: 51.67 kB / 0.5824 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.2832, allocations: 0.5645 MB / 0.583 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2832, allocations: 112 / 0.583 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2832, allocations: 3.938 kB / 0.583 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2832, allocations: 7.984 kB / 0.583 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005315/0.2838, allocations: 441.1 kB / 0.5834 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2838, allocations: 0 / 0.5834 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008647/0.2846, allocations: 207.9 kB / 0.5836 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.2846, allocations: 4 kB / 0.5836 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.2847, allocations: 11.98 kB / 0.5836 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004043/0.2887, allocations: 7.298 MB / 0.5907 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2887, allocations: 8.031 kB / 0.5907 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007747/0.2895, allocations: 0.5115 MB / 0.5912 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.2896, allocations: 132.7 kB / 0.5914 GB, free: 2.309 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.402e-05/0.2897, allocations: 7.938 kB / 0.5914 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.2899, allocations: 15.98 kB / 0.5914 GB, free: 2.285 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.45e-05/0.29, allocations: 23.97 kB / 0.5914 GB, free: 2.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.29, allocations: 15.98 kB / 0.5914 GB, free: 2.246 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004337/0.2904, allocations: 410.7 kB / 0.5918 GB, free: 1.848 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2904, allocations: 0 / 0.5918 GB, free: 1.848 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006227/0.2911, allocations: 191.6 kB / 0.592 GB, free: 1.66 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.001348/0.2924, allocations: 1.153 MB / 0.5931 GB, free: 492 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.294, allocations: 0.6108 MB / 0.5937 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.294, allocations: 0 / 0.5937 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.295, allocations: 351.7 kB / 0.5941 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.2955, allocations: 117.8 kB / 0.5942 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006756/0.3023, allocations: 5.663 MB / 0.5997 GB, free: 9.438 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.3028, allocations: 0.9093 MB / 0.6006 GB, free: 8.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003602/0.3031, allocations: 164.5 kB / 0.6007 GB, free: 8.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.3033, allocations: 147.4 kB / 0.6009 GB, free: 8.195 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3033, allocations: 0 / 0.6009 GB, free: 8.195 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04001/0.3433, allocations: 16.48 MB / 0.617 GB, free: 7.879 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.27, allocations: 15.53 kB / 0.617 GB, free: 7.867 MB / 462.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_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_overall_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.827310720997048]