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.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.001768/0.001768, 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.002193/0.002193, allocations: 206.1 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.486/1.486, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2221/0.2221, allocations: 44.92 MB / 359.6 MB, free: 6.258 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,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",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.00201/0.00201, allocations: 59.89 kB / 0.4939 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3394, allocations: 65.48 MB / 0.5578 GB, free: 7.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003716/0.3431, allocations: 2.145 MB / 0.5599 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.3452, allocations: 1.423 MB / 0.5613 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.209e-05/0.3453, allocations: 11.94 kB / 0.5613 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.3456, allocations: 87.38 kB / 0.5614 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.3457, allocations: 67.41 kB / 0.5615 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.3462, allocations: 215.1 kB / 0.5617 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.3465, allocations: 151 kB / 0.5618 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.571e-05/0.3465, allocations: 8.594 kB / 0.5618 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.3467, allocations: 63.59 kB / 0.5619 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.3468, allocations: 67.53 kB / 0.562 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.3468, allocations: 4 kB / 0.562 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006314/0.3475, allocations: 431.4 kB / 0.5624 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.573e-05/0.3475, allocations: 27.8 kB / 0.5624 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.407e-05/0.3476, allocations: 79.41 kB / 0.5625 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005946/0.3482, allocations: 442.3 kB / 0.5629 GB, free: 2.414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3482, allocations: 0 / 0.5629 GB, free: 2.414 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3482, allocations: 0 / 0.5629 GB, free: 2.414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.3482, allocations: 0 / 0.5629 GB, free: 2.414 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.000646/0.3489, allocations: 437 kB / 0.5633 GB, free: 1.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3489, allocations: 8.031 kB / 0.5633 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.55e-05/0.3489, allocations: 4.188 kB / 0.5633 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.181e-05/0.349, allocations: 54.73 kB / 0.5634 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.349, allocations: 24.8 kB / 0.5634 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.3492, allocations: 162.1 kB / 0.5636 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.3492, allocations: 16.12 kB / 0.5636 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.3493, allocations: 16 kB / 0.5636 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/0.3497, allocations: 210.6 kB / 0.5638 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3497, allocations: 0 / 0.5638 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.3497, allocations: 8 kB / 0.5638 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.3497, allocations: 7.984 kB / 0.5638 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.35, allocations: 152.3 kB / 0.5639 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008568/0.3509, allocations: 0.5484 MB / 0.5645 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.3511, allocations: 62.48 kB / 0.5645 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.3512, allocations: 32.94 kB / 0.5646 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.3512, allocations: 4 kB / 0.5646 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.3512, allocations: 30.56 kB / 0.5646 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.3512, allocations: 0 / 0.5646 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004606/0.3517, allocations: 133.5 kB / 0.5647 GB, free: 396 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.3517, allocations: 59.34 kB / 0.5648 GB, free: 324 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.352, allocations: 261.8 kB / 0.565 GB, free: 56 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.352, allocations: 25.7 kB / 0.5651 GB, free: 24 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.3522, allocations: 167.9 kB / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.3522, allocations: 19.89 kB / 0.5652 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.755e-05/0.3523, allocations: 41.66 kB / 0.5653 GB, free: 15.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3524, allocations: 334.7 kB / 0.5656 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.3526, allocations: 39.97 kB / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.3528, allocations: 136.8 kB / 0.5658 GB, free: 15.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.3531, allocations: 176.7 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3531, allocations: 4 kB / 0.5659 GB, free: 15.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004131/0.3535, allocations: 205.1 kB / 0.5661 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3535, allocations: 10.81 kB / 0.5662 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.495e-05/0.3536, allocations: 16 kB / 0.5662 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3536, allocations: 4.438 kB / 0.5662 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.3537, allocations: 31.98 kB / 0.5662 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.3537, allocations: 11.92 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.3539, allocations: 31.78 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.3539, allocations: 11.94 kB / 0.5663 GB, free: 14.69 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 (17): * Single equations (assignments): 15 * 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.0001162/0.354, allocations: 125.8 kB / 0.5664 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/0.354, allocations: 23.84 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003856/0.3544, allocations: 139 kB / 0.5665 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3544, allocations: 0 / 0.5665 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3544, allocations: 192 / 0.5665 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3544, allocations: 0 / 0.5665 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.3547, allocations: 196.6 kB / 0.5667 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.815e-05/0.3547, allocations: 8 kB / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.191e-05/0.3548, allocations: 12 kB / 0.5667 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3548, allocations: 4 kB / 0.5667 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3548, allocations: 3.984 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3548, allocations: 0 / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3548, allocations: 0 / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003336/0.3551, allocations: 207.2 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.3552, allocations: 31.78 kB / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.3552, allocations: 0 / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3553, allocations: 4 kB / 0.567 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.3553, allocations: 7.984 kB / 0.567 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.3553, allocations: 0 / 0.567 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001901/0.3555, allocations: 185.2 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3555, allocations: 0 / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003953/0.3559, allocations: 75.8 kB / 0.5672 GB, free: 13.61 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.0008567/0.3568, allocations: 0.8252 MB / 0.568 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004428/0.3572, allocations: 160.3 kB / 0.5682 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3572, allocations: 0 / 0.5682 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.3574, allocations: 99.36 kB / 0.5683 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.3578, allocations: 28.81 kB / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.3609, allocations: 2.388 MB / 0.5706 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.3613, allocations: 0.7281 MB / 0.5714 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.199e-05/0.3614, allocations: 25.41 kB / 0.5714 GB, free: 9.113 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.925e-05/0.3614, allocations: 55.42 kB / 0.5714 GB, free: 9.059 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3614, allocations: 0 / 0.5714 GB, free: 9.059 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.3898, allocations: 6.983 MB / 0.5783 GB, free: 2.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.13, allocations: 4 kB / 0.5783 GB, free: 2.254 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_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.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.24146790400846] Failed to read output from testmodel.py, exit status != 0: ['time', 'Re', 'm_flow[1]', 'm_flow[2]', 'Nu[1]', 'Nu[2]', 'input_Re.y'] 13.32231265900191 13.348943576 12.995671849 Calling exit ...