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.001715/0.001715, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002133/0.002133, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.467/1.467, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.2196/0.2196, allocations: 44.92 MB / 359.6 MB, free: 6.309 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.001994/0.001994, allocations: 65.62 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3131, allocations: 65.48 MB / 0.5578 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.00352/0.3167, allocations: 2.128 MB / 0.5599 GB, free: 5.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002807/0.3195, allocations: 1.734 MB / 0.5616 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.968e-05/0.3196, allocations: 3.938 kB / 0.5616 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.3199, allocations: 91.36 kB / 0.5617 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.3201, allocations: 71.36 kB / 0.5618 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008511/0.3209, allocations: 350.7 kB / 0.5621 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.3211, allocations: 151 kB / 0.5622 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.014e-05/0.3212, allocations: 16.59 kB / 0.5623 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.85e-05/0.3212, allocations: 51.67 kB / 0.5623 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.3214, allocations: 71.52 kB / 0.5624 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.3214, allocations: 4 kB / 0.5624 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.3227, allocations: 0.7841 MB / 0.5631 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.351e-05/0.3227, allocations: 27.78 kB / 0.5632 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.53e-05/0.3228, allocations: 75.48 kB / 0.5632 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008114/0.3236, allocations: 0.5956 MB / 0.5638 GB, free: 1.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3237, allocations: 4 kB / 0.5638 GB, free: 1.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3237, allocations: 0 / 0.5638 GB, free: 1.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.3237, allocations: 0 / 0.5638 GB, free: 1.625 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.0006956/0.3244, allocations: 453.4 kB / 0.5643 GB, free: 1.148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3244, allocations: 8.031 kB / 0.5643 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.703e-05/0.3244, allocations: 4.625 kB / 0.5643 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.416e-05/0.3245, allocations: 58.72 kB / 0.5643 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/0.3245, allocations: 24.8 kB / 0.5643 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.3247, allocations: 155.6 kB / 0.5645 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3247, allocations: 20.44 kB / 0.5645 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.3247, allocations: 16 kB / 0.5645 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.3252, allocations: 267.5 kB / 0.5648 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.3252, allocations: 3.938 kB / 0.5648 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.3252, allocations: 8 kB / 0.5648 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.3252, allocations: 12 kB / 0.5648 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003248/0.3255, allocations: 168.2 kB / 0.565 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.3266, allocations: 0.885 MB / 0.5658 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.3268, allocations: 62.48 kB / 0.5659 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3269, allocations: 24.95 kB / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.3269, allocations: 11.97 kB / 0.5659 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.327, allocations: 30.56 kB / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.327, allocations: 4 kB / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004529/0.3274, allocations: 133.4 kB / 0.5661 GB, free: 15.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.3275, allocations: 55.41 kB / 0.5661 GB, free: 15.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.3277, allocations: 268.1 kB / 0.5664 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.3278, allocations: 25.7 kB / 0.5664 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.3279, allocations: 187.4 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.3279, allocations: 23.86 kB / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-05/0.328, allocations: 53.66 kB / 0.5667 GB, free: 14.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3282, allocations: 334.8 kB / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.3283, allocations: 44.2 kB / 0.567 GB, free: 14.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.3285, allocations: 192 kB / 0.5672 GB, free: 13.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004218/0.329, allocations: 255.5 kB / 0.5675 GB, free: 13.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.329, allocations: 0 / 0.5675 GB, free: 13.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000484/0.3295, allocations: 261.6 kB / 0.5677 GB, free: 13.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3295, allocations: 8 kB / 0.5677 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.142e-05/0.3295, allocations: 16 kB / 0.5677 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.3295, allocations: 11.94 kB / 0.5677 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.3297, allocations: 43.91 kB / 0.5678 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.3297, allocations: 11.94 kB / 0.5678 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.3299, allocations: 43.67 kB / 0.5678 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.3299, allocations: 15.98 kB / 0.5679 GB, free: 13.12 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.0001217/0.33, allocations: 141.8 kB / 0.568 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.3301, allocations: 19.86 kB / 0.568 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003734/0.3304, allocations: 138.9 kB / 0.5681 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3305, allocations: 8 kB / 0.5682 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3305, allocations: 192 / 0.5682 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3305, allocations: 0 / 0.5682 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.3307, allocations: 196.6 kB / 0.5683 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/0.3307, allocations: 8 kB / 0.5683 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.956e-05/0.3308, allocations: 7.984 kB / 0.5684 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3308, allocations: 0 / 0.5684 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.3308, allocations: 11.94 kB / 0.5684 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3308, allocations: 0 / 0.5684 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3308, allocations: 0 / 0.5684 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.3311, allocations: 207.4 kB / 0.5686 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.3312, allocations: 15.86 kB / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.3312, allocations: 7.938 kB / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3313, allocations: 7.984 kB / 0.5686 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.3313, allocations: 3.938 kB / 0.5686 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.3313, allocations: 4 kB / 0.5686 GB, free: 12.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001738/0.3315, allocations: 191.1 kB / 0.5688 GB, free: 12.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3315, allocations: 0 / 0.5688 GB, free: 12.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005024/0.332, allocations: 107.7 kB / 0.5689 GB, free: 11.99 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.0009765/0.333, allocations: 0.837 MB / 0.5697 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005136/0.3335, allocations: 192.4 kB / 0.5699 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3335, allocations: 0 / 0.5699 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.3337, allocations: 103.7 kB / 0.57 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.3341, allocations: 24.95 kB / 0.57 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/0.3373, allocations: 2.52 MB / 0.5725 GB, free: 8.051 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.3377, allocations: 0.7323 MB / 0.5732 GB, free: 7.293 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.248e-05/0.3378, allocations: 21.94 kB / 0.5732 GB, free: 7.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.946e-05/0.3379, allocations: 63.36 kB / 0.5733 GB, free: 7.207 MB / 414.1 MB Notification: Performance of SimCode: time 1.133e-06/0.3379, allocations: 0 / 0.5733 GB, free: 7.207 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/0.369, allocations: 9.249 MB / 0.5823 GB, free: 14.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.47, allocations: 4 kB / 0.5823 GB, free: 14.14 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.520251270965673] 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.64456747600343 13.660792414 13.333945424 Calling exit ...