Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001467/0.001467, 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.001444/0.001444, allocations: 211.8 kB / 24.51 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.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2456/0.2456, allocations: 46.96 MB / 361.7 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 63.91 kB / 0.4969 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3748, allocations: 66.02 MB / 0.5614 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.004245/0.3791, allocations: 2.05 MB / 0.5634 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.3814, allocations: 1.252 MB / 0.5646 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.3816, allocations: 4 kB / 0.5646 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004252/0.382, allocations: 79.41 kB / 0.5647 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.3822, allocations: 67.44 kB / 0.5647 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006591/0.3829, allocations: 215.1 kB / 0.565 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.3831, allocations: 151 kB / 0.5651 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.492e-05/0.3832, allocations: 8.594 kB / 0.5651 GB, free: 424 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.3833, allocations: 63.61 kB / 0.5652 GB, free: 360 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.3835, allocations: 75.52 kB / 0.5652 GB, free: 284 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3835, allocations: 4 kB / 0.5652 GB, free: 280 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004035/0.3839, allocations: 219.7 kB / 0.5655 GB, free: 60 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.508e-05/0.384, allocations: 23.8 kB / 0.5655 GB, free: 36 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.3841, allocations: 59.64 kB / 0.5655 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006108/0.3847, allocations: 382.3 kB / 0.5659 GB, free: 15.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3847, allocations: 0 / 0.5659 GB, free: 15.6 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3847, allocations: 0 / 0.5659 GB, free: 15.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3847, allocations: 0 / 0.5659 GB, free: 15.6 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006874/0.3854, allocations: 441 kB / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3854, allocations: 8.031 kB / 0.5663 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.86e-05/0.3854, allocations: 8.188 kB / 0.5663 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.268e-05/0.3855, allocations: 50.73 kB / 0.5664 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.224e-05/0.3855, allocations: 28.78 kB / 0.5664 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.3857, allocations: 155.8 kB / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.3858, allocations: 16.12 kB / 0.5666 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.3858, allocations: 16 kB / 0.5666 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.3862, allocations: 210.7 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3862, allocations: 0 / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.3862, allocations: 8 kB / 0.5668 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.3862, allocations: 4 kB / 0.5668 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/0.3865, allocations: 156.2 kB / 0.5669 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008483/0.3874, allocations: 0.529 MB / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.3876, allocations: 62.53 kB / 0.5675 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.3877, allocations: 28.95 kB / 0.5676 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.3877, allocations: 4 kB / 0.5676 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.3877, allocations: 34.5 kB / 0.5676 GB, free: 13.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.3877, allocations: 0 / 0.5676 GB, free: 13.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004585/0.3882, allocations: 137.5 kB / 0.5677 GB, free: 13.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.3882, allocations: 51.41 kB / 0.5678 GB, free: 13.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00028/0.3885, allocations: 257.8 kB / 0.568 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.3885, allocations: 25.7 kB / 0.568 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.3887, allocations: 167.9 kB / 0.5682 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.3888, allocations: 19.91 kB / 0.5682 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.704e-05/0.3888, allocations: 41.66 kB / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.389, allocations: 338.7 kB / 0.5686 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.3892, allocations: 39.97 kB / 0.5686 GB, free: 12.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.3894, allocations: 142 kB / 0.5688 GB, free: 12.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.3897, allocations: 184.8 kB / 0.5689 GB, free: 12.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3897, allocations: 0 / 0.5689 GB, free: 12.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003885/0.3901, allocations: 205.2 kB / 0.5691 GB, free: 12.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3901, allocations: 8 kB / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.662e-05/0.3901, allocations: 8.438 kB / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.3901, allocations: 12 kB / 0.5692 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3903, allocations: 31.91 kB / 0.5692 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.3903, allocations: 4 kB / 0.5692 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.3904, allocations: 35.77 kB / 0.5692 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.3904, allocations: 15.94 kB / 0.5692 GB, free: 11.9 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.0001184/0.3905, allocations: 125.8 kB / 0.5694 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.3906, allocations: 19.86 kB / 0.5694 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.391, allocations: 142.9 kB / 0.5695 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.391, allocations: 0 / 0.5695 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.391, allocations: 0 / 0.5695 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.391, allocations: 3.938 kB / 0.5695 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.3912, allocations: 184.6 kB / 0.5697 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.3912, allocations: 8 kB / 0.5697 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.111e-05/0.3913, allocations: 15.98 kB / 0.5697 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3913, allocations: 0 / 0.5697 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3913, allocations: 4 kB / 0.5697 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3913, allocations: 0 / 0.5697 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3913, allocations: 0 / 0.5697 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/0.3916, allocations: 215.3 kB / 0.5699 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.3917, allocations: 19.8 kB / 0.5699 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.3917, allocations: 0 / 0.5699 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3918, allocations: 11.98 kB / 0.57 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.3918, allocations: 7.938 kB / 0.57 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.3918, allocations: 0 / 0.57 GB, free: 11.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001705/0.392, allocations: 189.1 kB / 0.5701 GB, free: 10.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.392, allocations: 0 / 0.5701 GB, free: 10.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004115/0.3924, allocations: 79.8 kB / 0.5702 GB, free: 10.81 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.0008677/0.3933, allocations: 0.8019 MB / 0.571 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004482/0.3937, allocations: 167.6 kB / 0.5712 GB, free: 9.801 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3937, allocations: 0 / 0.5712 GB, free: 9.801 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.3939, allocations: 99.81 kB / 0.5713 GB, free: 9.691 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.3943, allocations: 32.14 kB / 0.5713 GB, free: 9.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.3973, allocations: 2.381 MB / 0.5736 GB, free: 7.117 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.3974, allocations: 120.9 kB / 0.5737 GB, free: 6.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.73e-05/0.3975, allocations: 17.47 kB / 0.5737 GB, free: 6.961 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.482e-05/0.3976, allocations: 59.41 kB / 0.5738 GB, free: 6.902 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3976, allocations: 0 / 0.5738 GB, free: 6.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/0.4246, allocations: 6.789 MB / 0.5804 GB, free: 336 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.37, allocations: 64 / 0.5804 GB, free: 336 kB / 414.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.48254621401429] 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.541431208956055 13.556158261 13.168317735 Calling exit ...