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.001452/0.001452, allocations: 112.9 kB / 19.74 MB, free: 2.562 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.001559/0.001559, allocations: 216.5 kB / 22.92 MB, free: 5.535 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.281/1.281, allocations: 230.2 MB / 256.2 MB, free: 8.73 MB / 206.1 MB " [Timeout remaining time 179] 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.201/0.201, allocations: 46.89 MB / 359.3 MB, free: 4.949 MB / 286.1 MB " [Timeout remaining time 180] 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.002088/0.002088, allocations: 79.86 kB / 0.494 GB, free: 9.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2557, allocations: 65.99 MB / 0.5584 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.00322/0.2589, allocations: 2.14 MB / 0.5605 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.2609, allocations: 1.423 MB / 0.5619 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.035e-05/0.2609, allocations: 4 kB / 0.5619 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.2612, allocations: 91.38 kB / 0.562 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.2614, allocations: 75.3 kB / 0.5621 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.2619, allocations: 210.4 kB / 0.5623 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.262, allocations: 143.1 kB / 0.5624 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.753e-05/0.2621, allocations: 24.17 kB / 0.5624 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.2622, allocations: 55.67 kB / 0.5625 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.2623, allocations: 71.52 kB / 0.5626 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.2623, allocations: 4 kB / 0.5626 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000616/0.263, allocations: 431.4 kB / 0.563 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.263, allocations: 27.8 kB / 0.563 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.281e-05/0.2631, allocations: 67.48 kB / 0.5631 GB, free: 436 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005648/0.2637, allocations: 446.3 kB / 0.5635 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2637, allocations: 0 / 0.5635 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2637, allocations: 0 / 0.5635 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.2637, allocations: 0 / 0.5635 GB, free: 15.98 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.0006199/0.2643, allocations: 0.4982 MB / 0.564 GB, free: 15.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.2643, allocations: 15.97 kB / 0.564 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.268e-05/0.2644, allocations: 50.73 kB / 0.5641 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.2644, allocations: 24.8 kB / 0.5641 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.2646, allocations: 215.9 kB / 0.5643 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.2646, allocations: 8.375 kB / 0.5643 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.2647, allocations: 23.94 kB / 0.5643 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003631/0.265, allocations: 211.2 kB / 0.5645 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.265, allocations: 0 / 0.5645 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.265, allocations: 8 kB / 0.5645 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.2651, allocations: 4 kB / 0.5645 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.2653, allocations: 148.2 kB / 0.5647 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008258/0.2662, allocations: 0.5754 MB / 0.5652 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.2663, allocations: 58.56 kB / 0.5653 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.2664, allocations: 32.94 kB / 0.5653 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.2665, allocations: 0 / 0.5653 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.2665, allocations: 34.5 kB / 0.5653 GB, free: 13.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.2665, allocations: 4 kB / 0.5654 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004223/0.2669, allocations: 137.5 kB / 0.5655 GB, free: 13.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.267, allocations: 51.41 kB / 0.5655 GB, free: 13.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.2672, allocations: 254.7 kB / 0.5658 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.2672, allocations: 29.64 kB / 0.5658 GB, free: 13.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.2674, allocations: 167.9 kB / 0.566 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.2674, allocations: 23.88 kB / 0.566 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.2674, allocations: 41.66 kB / 0.566 GB, free: 13.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2676, allocations: 338.8 kB / 0.5663 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.2677, allocations: 35.97 kB / 0.5664 GB, free: 12.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.2679, allocations: 137.7 kB / 0.5665 GB, free: 12.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/0.2682, allocations: 188.8 kB / 0.5667 GB, free: 12.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2682, allocations: 0 / 0.5667 GB, free: 12.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003916/0.2686, allocations: 205.5 kB / 0.5669 GB, free: 12.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2686, allocations: 8 kB / 0.5669 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-05/0.2687, allocations: 12 kB / 0.5669 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.2687, allocations: 4.094 kB / 0.5669 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.2688, allocations: 31.92 kB / 0.5669 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2688, allocations: 7.984 kB / 0.567 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.2689, allocations: 35.77 kB / 0.567 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.269, allocations: 8 kB / 0.567 GB, free: 12.09 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.0001098/0.2691, allocations: 141.7 kB / 0.5671 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.2691, allocations: 23.86 kB / 0.5672 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003544/0.2695, allocations: 134.8 kB / 0.5673 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2695, allocations: 4 kB / 0.5673 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.2695, allocations: 0 / 0.5673 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2695, allocations: 0 / 0.5673 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.2697, allocations: 221.5 kB / 0.5675 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-05/0.2698, allocations: 15.94 kB / 0.5675 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.867e-05/0.2698, allocations: 7.984 kB / 0.5675 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2698, allocations: 4 kB / 0.5675 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.2698, allocations: 0 / 0.5675 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2698, allocations: 0 / 0.5675 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.2698, allocations: 0 / 0.5675 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.2701, allocations: 207.3 kB / 0.5677 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.2702, allocations: 108.9 kB / 0.5678 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.2703, allocations: 0 / 0.5678 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.678e-05/0.2704, allocations: 4 kB / 0.5678 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.2704, allocations: 11.92 kB / 0.5678 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.2704, allocations: 4 kB / 0.5678 GB, free: 11.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000174/0.2706, allocations: 189.9 kB / 0.568 GB, free: 10.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2706, allocations: 0 / 0.568 GB, free: 10.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003481/0.2709, allocations: 75.75 kB / 0.5681 GB, free: 10.86 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.0008168/0.2717, allocations: 0.8013 MB / 0.5689 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004379/0.2722, allocations: 171.1 kB / 0.569 GB, free: 9.848 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2722, allocations: 0 / 0.569 GB, free: 9.848 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.2724, allocations: 104.2 kB / 0.5691 GB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.2727, allocations: 27.31 kB / 0.5692 GB, free: 9.707 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002898/0.2756, allocations: 2.385 MB / 0.5715 GB, free: 7.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.276, allocations: 0.7281 MB / 0.5722 GB, free: 6.406 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.822e-05/0.276, allocations: 17.55 kB / 0.5722 GB, free: 6.391 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.22e-05/0.2761, allocations: 55.42 kB / 0.5723 GB, free: 6.336 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2761, allocations: 0 / 0.5723 GB, free: 6.336 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02879/0.3049, allocations: 6.782 MB / 0.5789 GB, free: 15.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.74, allocations: 3.938 kB / 0.5789 GB, free: 15.68 MB / 430.1 MB " [Timeout remaining time 649] (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 --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: 13.225932739005657]