Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001287/0.001287, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001437/0.001437, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 230.5 MB / 258.2 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2927/0.2927, allocations: 46.93 MB / 361.6 MB, free: 4.207 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 80.14 kB / 0.497 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3385, allocations: 66.07 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.00359/0.3421, allocations: 2.159 MB / 0.5636 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.3442, allocations: 1.423 MB / 0.565 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.935e-05/0.3443, allocations: 3.938 kB / 0.565 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.3446, allocations: 91.38 kB / 0.5651 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.3448, allocations: 67.44 kB / 0.5652 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005324/0.3453, allocations: 219.1 kB / 0.5654 GB, free: 352 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.3455, allocations: 143 kB / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.728e-05/0.3455, allocations: 16.59 kB / 0.5656 GB, free: 188 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.3457, allocations: 63.64 kB / 0.5656 GB, free: 124 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.3458, allocations: 71.53 kB / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.3459, allocations: 4 kB / 0.5657 GB, free: 48 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006564/0.3465, allocations: 431.4 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/0.3466, allocations: 23.8 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.887e-05/0.3466, allocations: 75.42 kB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005937/0.3472, allocations: 446.2 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3472, allocations: 0 / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3472, allocations: 0 / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.3473, allocations: 0 / 0.5666 GB, free: 15.09 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.0006911/0.3479, allocations: 433 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.348, allocations: 12.03 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.162e-05/0.348, allocations: 50.73 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.3481, allocations: 24.8 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.3483, allocations: 162.1 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.3483, allocations: 16.38 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/0.3483, allocations: 15.94 kB / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.3487, allocations: 206.7 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3487, allocations: 4 kB / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.3488, allocations: 4 kB / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.3488, allocations: 8 kB / 0.5675 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/0.3491, allocations: 152.2 kB / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008886/0.35, allocations: 0.5484 MB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.3502, allocations: 66.48 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.3503, allocations: 24.95 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.3503, allocations: 11.92 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.3503, allocations: 30.56 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.3503, allocations: 0 / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004637/0.3508, allocations: 137.4 kB / 0.5685 GB, free: 13.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.3508, allocations: 51.41 kB / 0.5685 GB, free: 13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.3511, allocations: 261.8 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.3512, allocations: 25.7 kB / 0.5688 GB, free: 12.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.3513, allocations: 171.8 kB / 0.5689 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.3513, allocations: 11.91 kB / 0.5689 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.519e-05/0.3514, allocations: 45.66 kB / 0.569 GB, free: 12.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3515, allocations: 334.8 kB / 0.5693 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.3517, allocations: 39.97 kB / 0.5693 GB, free: 12.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.3519, allocations: 132.8 kB / 0.5695 GB, free: 11.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.3522, allocations: 184.6 kB / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3522, allocations: 0 / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004/0.3526, allocations: 197.8 kB / 0.5698 GB, free: 11.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3526, allocations: 14.19 kB / 0.5699 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.893e-05/0.3527, allocations: 15.98 kB / 0.5699 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.3527, allocations: 12 kB / 0.5699 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.3528, allocations: 27.92 kB / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.3528, allocations: 7.938 kB / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.3529, allocations: 31.77 kB / 0.5699 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.353, allocations: 16 kB / 0.57 GB, free: 11.38 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.0001215/0.3531, allocations: 121.8 kB / 0.5701 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.3531, allocations: 27.86 kB / 0.5701 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003994/0.3535, allocations: 134.9 kB / 0.5702 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.3535, allocations: 4 kB / 0.5702 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3535, allocations: 4 kB / 0.5702 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3536, allocations: 3.984 kB / 0.5702 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.3538, allocations: 188.6 kB / 0.5704 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/0.3538, allocations: 8 kB / 0.5704 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.946e-05/0.3539, allocations: 7.984 kB / 0.5704 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3539, allocations: 0 / 0.5704 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.3539, allocations: 4 kB / 0.5704 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3539, allocations: 0 / 0.5704 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3539, allocations: 0 / 0.5704 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.3542, allocations: 219.2 kB / 0.5707 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.3543, allocations: 19.8 kB / 0.5707 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.3543, allocations: 4 kB / 0.5707 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.865e-05/0.3544, allocations: 12.11 kB / 0.5707 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.3544, allocations: 0 / 0.5707 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.3544, allocations: 7.984 kB / 0.5707 GB, free: 10.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001781/0.3546, allocations: 181.2 kB / 0.5709 GB, free: 10.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3546, allocations: 4 kB / 0.5709 GB, free: 10.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003648/0.355, allocations: 83.69 kB / 0.571 GB, free: 10.28 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.0008982/0.3559, allocations: 0.8058 MB / 0.5717 GB, free: 9.445 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004392/0.3563, allocations: 167.3 kB / 0.5719 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3563, allocations: 0 / 0.5719 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.3565, allocations: 104.1 kB / 0.572 GB, free: 9.156 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.3569, allocations: 20.97 kB / 0.572 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/0.36, allocations: 2.378 MB / 0.5743 GB, free: 6.594 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.3604, allocations: 0.7281 MB / 0.575 GB, free: 5.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.832e-05/0.3604, allocations: 21.42 kB / 0.5751 GB, free: 5.816 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.118e-05/0.3605, allocations: 63.36 kB / 0.5751 GB, free: 5.754 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3605, allocations: 0 / 0.5751 GB, free: 5.754 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.3911, allocations: 6.93 MB / 0.5819 GB, free: 14.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.07, allocations: 0 / 0.5819 GB, free: 14.95 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_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-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.00346454931423] 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'] 12.159607793670148 12.174245671 11.823994647 Calling exit ...