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_flatTube_KC.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.001372/0.001372, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001536/0.001536, allocations: 212.6 kB / 24.51 MB, free: 3.941 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: 7.801 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.2134/0.2134, allocations: 44.95 MB / 359.6 MB, free: 6.086 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_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",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.001987/0.001987, allocations: 59.91 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3269, allocations: 65.47 MB / 0.5578 GB, free: 7.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003646/0.3306, allocations: 2.102 MB / 0.5598 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.3322, allocations: 0.9869 MB / 0.5608 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.245e-05/0.3323, allocations: 0 / 0.5608 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.3326, allocations: 83.39 kB / 0.5609 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.3328, allocations: 91.27 kB / 0.561 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.3331, allocations: 115.6 kB / 0.5611 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.3333, allocations: 190.8 kB / 0.5612 GB, free: 4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.053e-05/0.3334, allocations: 8.594 kB / 0.5613 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.3336, allocations: 75.59 kB / 0.5613 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.3337, allocations: 87.48 kB / 0.5614 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.3337, allocations: 8 kB / 0.5614 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002736/0.334, allocations: 135.8 kB / 0.5615 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.465e-05/0.3341, allocations: 27.8 kB / 0.5616 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.813e-05/0.3341, allocations: 67.47 kB / 0.5616 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004206/0.3346, allocations: 306.5 kB / 0.5619 GB, free: 3.293 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3346, allocations: 4 kB / 0.5619 GB, free: 3.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3346, allocations: 0 / 0.5619 GB, free: 3.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3346, allocations: 0 / 0.5619 GB, free: 3.289 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000629/0.3352, allocations: 429.6 kB / 0.5623 GB, free: 2.836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3352, allocations: 12.03 kB / 0.5624 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.583e-05/0.3353, allocations: 4.625 kB / 0.5624 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.761e-05/0.3353, allocations: 66.66 kB / 0.5624 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.3354, allocations: 24.8 kB / 0.5624 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.3356, allocations: 158.1 kB / 0.5626 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.3356, allocations: 16.56 kB / 0.5626 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.3356, allocations: 24 kB / 0.5626 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.3361, allocations: 231.2 kB / 0.5629 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3361, allocations: 4 kB / 0.5629 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.3361, allocations: 8 kB / 0.5629 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.3361, allocations: 11.94 kB / 0.5629 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004381/0.3365, allocations: 261.5 kB / 0.5631 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009685/0.3375, allocations: 0.5693 MB / 0.5637 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.3378, allocations: 102.6 kB / 0.5638 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.3379, allocations: 36.92 kB / 0.5638 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.3379, allocations: 4 kB / 0.5638 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.338, allocations: 38.5 kB / 0.5639 GB, free: 1.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.338, allocations: 0 / 0.5639 GB, free: 1.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005137/0.3385, allocations: 165.4 kB / 0.564 GB, free: 1.012 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.3385, allocations: 59.41 kB / 0.5641 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.3388, allocations: 272.1 kB / 0.5643 GB, free: 0.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.3388, allocations: 29.7 kB / 0.5644 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.339, allocations: 171.4 kB / 0.5645 GB, free: 472 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.436e-05/0.339, allocations: 31.73 kB / 0.5646 GB, free: 440 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.036e-05/0.3391, allocations: 53.66 kB / 0.5646 GB, free: 380 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3392, allocations: 334.8 kB / 0.5649 GB, free: 36 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.3394, allocations: 44.02 kB / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.3396, allocations: 152.7 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.34, allocations: 220.5 kB / 0.5653 GB, free: 15.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.34, allocations: 0 / 0.5653 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004842/0.3405, allocations: 237.3 kB / 0.5655 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3405, allocations: 8 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3405, allocations: 4 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.3406, allocations: 4 kB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.341, allocations: 87.89 kB / 0.5656 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008416/0.3418, allocations: 1.215 MB / 0.5668 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.342, allocations: 47.81 kB / 0.5669 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.342, allocations: 8 kB / 0.5669 GB, free: 13.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.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: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.3421, allocations: 133.7 kB / 0.567 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.3422, allocations: 23.86 kB / 0.567 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004403/0.3426, allocations: 175.5 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.3426, allocations: 96 / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3426, allocations: 3.938 kB / 0.5672 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3427, allocations: 0 / 0.5672 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006458/0.3433, allocations: 415.1 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3433, allocations: 0 / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.3436, allocations: 67.97 kB / 0.5677 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3436, allocations: 0 / 0.5677 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.3436, allocations: 11.94 kB / 0.5677 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007512/0.3443, allocations: 1.207 MB / 0.5689 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3444, allocations: 3.938 kB / 0.5689 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.3447, allocations: 253 kB / 0.5691 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.3448, allocations: 20.05 kB / 0.5691 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.3448, allocations: 8 kB / 0.5691 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.345, allocations: 11.98 kB / 0.5691 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.345, allocations: 7.984 kB / 0.5692 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.345, allocations: 4 kB / 0.5692 GB, free: 11.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.3452, allocations: 191.1 kB / 0.5693 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3452, allocations: 0 / 0.5693 GB, free: 11.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003656/0.3456, allocations: 71.81 kB / 0.5694 GB, free: 11.16 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008622/0.3464, allocations: 0.819 MB / 0.5702 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005431/0.347, allocations: 167.7 kB / 0.5704 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.347, allocations: 0 / 0.5704 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.3473, allocations: 87.89 kB / 0.5704 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.3477, allocations: 26.09 kB / 0.5705 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/0.351, allocations: 2.559 MB / 0.573 GB, free: 7.293 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.3511, allocations: 125.6 kB / 0.5731 GB, free: 7.152 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.863e-05/0.3512, allocations: 29.92 kB / 0.5731 GB, free: 7.125 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.996e-05/0.3513, allocations: 59.42 kB / 0.5732 GB, free: 7.066 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3513, allocations: 0 / 0.5732 GB, free: 7.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.3797, allocations: 6.467 MB / 0.5795 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.48, allocations: 8 kB / 0.5795 GB, free: 0.8086 MB / 414.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.530269454000518] Failed to read output from testmodel.py, exit status != 0: ['time', 'h_2', 'l_2', 's_2', 't_2', 'Nu', 'm_flow[1]', 'm_flow[2]', 'kc_1', 'kc_2', 'Re_1', 'Re_2', 'input_Nu.y'] 13.658341582049616 13.681899982000001 13.343994466 Calling exit ...