Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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.001744/0.001744, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001404/0.001404, allocations: 212.8 kB / 24.52 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2201/0.2201, allocations: 44.95 MB / 359.6 MB, free: 6.074 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002206/0.002206, allocations: 59.91 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3201, allocations: 65.47 MB / 0.5578 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003615/0.3237, allocations: 2.023 MB / 0.5597 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002506/0.3262, allocations: 1.54 MB / 0.5612 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.45e-05/0.3263, allocations: 0 / 0.5612 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.3266, allocations: 83.41 kB / 0.5613 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.3268, allocations: 71.42 kB / 0.5614 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008722/0.3277, allocations: 358.6 kB / 0.5617 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.3279, allocations: 147 kB / 0.5619 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.92e-05/0.3279, allocations: 16.58 kB / 0.5619 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.911e-05/0.328, allocations: 55.61 kB / 0.5619 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.3281, allocations: 59.66 kB / 0.562 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.3281, allocations: 4 kB / 0.562 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009459/0.3291, allocations: 0.55 MB / 0.5625 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.936e-05/0.3291, allocations: 23.86 kB / 0.5626 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.31e-05/0.3292, allocations: 63.55 kB / 0.5626 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007146/0.3299, allocations: 0.5255 MB / 0.5631 GB, free: 2.039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3299, allocations: 0 / 0.5631 GB, free: 2.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3299, allocations: 0 / 0.5631 GB, free: 2.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3299, allocations: 3.938 kB / 0.5631 GB, free: 2.035 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006913/0.3306, allocations: 457.3 kB / 0.5636 GB, free: 1.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.3307, allocations: 8.031 kB / 0.5636 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.926e-05/0.3307, allocations: 8.625 kB / 0.5636 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.362e-05/0.3308, allocations: 54.72 kB / 0.5636 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.3308, allocations: 24.8 kB / 0.5637 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.331, allocations: 169 kB / 0.5638 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.331, allocations: 16.42 kB / 0.5638 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.3311, allocations: 20 kB / 0.5639 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.3315, allocations: 263.5 kB / 0.5641 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3315, allocations: 0 / 0.5641 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.3316, allocations: 15.94 kB / 0.5641 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.3316, allocations: 4 kB / 0.5641 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003208/0.3319, allocations: 168.2 kB / 0.5643 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.3329, allocations: 0.8617 MB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.3331, allocations: 58.55 kB / 0.5652 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.3333, allocations: 28.95 kB / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.3333, allocations: 0 / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.3333, allocations: 34.56 kB / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.3333, allocations: 0 / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004681/0.3338, allocations: 141.4 kB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.3338, allocations: 51.41 kB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.3341, allocations: 272.1 kB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.3341, allocations: 25.7 kB / 0.5657 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.3343, allocations: 179.5 kB / 0.5659 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.3343, allocations: 23.84 kB / 0.5659 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.685e-05/0.3344, allocations: 57.66 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.3346, allocations: 330.8 kB / 0.5663 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.3347, allocations: 48.2 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.335, allocations: 192 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.3354, allocations: 259.4 kB / 0.5668 GB, free: 13.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.3354, allocations: 3.984 kB / 0.5668 GB, free: 13.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004877/0.3359, allocations: 253.2 kB / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3359, allocations: 10.5 kB / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.288e-05/0.3359, allocations: 20.17 kB / 0.567 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.3359, allocations: 11.94 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.3361, allocations: 43.92 kB / 0.5671 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/0.3361, allocations: 15.97 kB / 0.5671 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.3363, allocations: 48.17 kB / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.3363, allocations: 12 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001322/0.3364, allocations: 145.6 kB / 0.5673 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.3365, allocations: 23.8 kB / 0.5673 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003875/0.3369, allocations: 138.9 kB / 0.5675 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3369, allocations: 4 kB / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3369, allocations: 0 / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3369, allocations: 0 / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.3371, allocations: 184.7 kB / 0.5676 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-05/0.3371, allocations: 8 kB / 0.5676 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.205e-05/0.3372, allocations: 7.984 kB / 0.5676 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3372, allocations: 0 / 0.5676 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.3372, allocations: 7.938 kB / 0.5677 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3372, allocations: 4 kB / 0.5677 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3372, allocations: 0 / 0.5677 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.3375, allocations: 211.3 kB / 0.5679 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.3376, allocations: 19.86 kB / 0.5679 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.3376, allocations: 3.938 kB / 0.5679 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.3377, allocations: 7.984 kB / 0.5679 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.3377, allocations: 4 kB / 0.5679 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.3377, allocations: 0 / 0.5679 GB, free: 12.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001736/0.3379, allocations: 187.1 kB / 0.5681 GB, free: 12.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3379, allocations: 4 kB / 0.5681 GB, free: 12.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005098/0.3384, allocations: 107.7 kB / 0.5682 GB, free: 12.42 MB / 414.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009712/0.3394, allocations: 0.8427 MB / 0.569 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005337/0.3399, allocations: 196.5 kB / 0.5692 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3399, allocations: 0 / 0.5692 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.3401, allocations: 95.31 kB / 0.5693 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.3405, allocations: 28.97 kB / 0.5693 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.3438, allocations: 2.512 MB / 0.5718 GB, free: 8.488 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.3439, allocations: 125.6 kB / 0.5719 GB, free: 8.348 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.454e-05/0.344, allocations: 21.94 kB / 0.5719 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.424e-05/0.3441, allocations: 63.42 kB / 0.572 GB, free: 8.262 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3441, allocations: 3.938 kB / 0.572 GB, free: 8.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03345/0.3775, allocations: 9.022 MB / 0.5808 GB, free: 15.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.67, allocations: 8.281 kB / 0.5808 GB, free: 15.46 MB / 430.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.77487340301741] Failed to read output from testmodel.py, exit status != 0: ['time', 'Re', 'm_flow[1]', 'm_flow[4]', 'Nu[1]', 'Nu[4]', 'input_Re.y'] 13.851807008963078 13.876748651 13.542128465 Calling exit ...