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.001398/0.001398, allocations: 106.5 kB / 19.74 MB, free: 2.453 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.001512/0.001512, allocations: 217.6 kB / 22.92 MB, free: 5.195 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.299/1.299, allocations: 230.2 MB / 256.2 MB, free: 8.625 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.2072/0.2072, allocations: 46.89 MB / 359.3 MB, free: 4.984 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.002354/0.002354, allocations: 83.86 kB / 0.494 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2642, allocations: 65.98 MB / 0.5584 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003098/0.2673, allocations: 2.148 MB / 0.5605 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.269, allocations: 1.423 MB / 0.5619 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.2691, allocations: 4 kB / 0.5619 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.2694, allocations: 87.33 kB / 0.562 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.2695, allocations: 75.41 kB / 0.5621 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.27, allocations: 210.6 kB / 0.5623 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.2701, allocations: 147 kB / 0.5624 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.2702, allocations: 20.3 kB / 0.5624 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.2703, allocations: 59.59 kB / 0.5625 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.636e-05/0.2704, allocations: 67.53 kB / 0.5626 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.2704, allocations: 4 kB / 0.5626 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000573/0.271, allocations: 431.4 kB / 0.563 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.302e-05/0.2711, allocations: 31.78 kB / 0.563 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.031e-05/0.2711, allocations: 71.44 kB / 0.5631 GB, free: 488 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005166/0.2716, allocations: 434.3 kB / 0.5635 GB, free: 52 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2716, allocations: 3.938 kB / 0.5635 GB, free: 48 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2716, allocations: 4 kB / 0.5635 GB, free: 44 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.2717, allocations: 0 / 0.5635 GB, free: 44 kB / 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.00063/0.2723, allocations: 0.4984 MB / 0.564 GB, free: 15.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.2723, allocations: 8.031 kB / 0.564 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.304e-05/0.2724, allocations: 50.73 kB / 0.564 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.2724, allocations: 24.8 kB / 0.5641 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.2726, allocations: 220 kB / 0.5643 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.2726, allocations: 12.38 kB / 0.5643 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.2726, allocations: 19.94 kB / 0.5643 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004055/0.2731, allocations: 211.2 kB / 0.5645 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.2731, allocations: 0 / 0.5645 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.2731, allocations: 4 kB / 0.5645 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2731, allocations: 4 kB / 0.5645 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002881/0.2734, allocations: 148.2 kB / 0.5647 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008582/0.2742, allocations: 0.5793 MB / 0.5652 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.2744, allocations: 62.48 kB / 0.5653 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.2745, allocations: 32.94 kB / 0.5653 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.2746, allocations: 3.984 kB / 0.5653 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.2746, allocations: 34.56 kB / 0.5654 GB, free: 13.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.2746, allocations: 0 / 0.5654 GB, free: 13.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004266/0.275, allocations: 133.5 kB / 0.5655 GB, free: 13.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.275, allocations: 55.34 kB / 0.5655 GB, free: 13.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.2753, allocations: 258.7 kB / 0.5658 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.2753, allocations: 25.7 kB / 0.5658 GB, free: 13.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.2754, allocations: 167.9 kB / 0.566 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.2754, allocations: 15.89 kB / 0.566 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.2755, allocations: 45.67 kB / 0.566 GB, free: 13.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2756, allocations: 334.8 kB / 0.5663 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.2758, allocations: 39.97 kB / 0.5664 GB, free: 12.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.2759, allocations: 132.7 kB / 0.5665 GB, free: 12.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.2763, allocations: 188.7 kB / 0.5667 GB, free: 12.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2763, allocations: 0 / 0.5667 GB, free: 12.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004043/0.2767, allocations: 201.4 kB / 0.5669 GB, free: 12.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2767, allocations: 14.44 kB / 0.5669 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.791e-05/0.2767, allocations: 16 kB / 0.5669 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.2767, allocations: 4 kB / 0.5669 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.2769, allocations: 31.98 kB / 0.5669 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.2769, allocations: 7.938 kB / 0.5669 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.277, allocations: 32.11 kB / 0.567 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.277, allocations: 19.98 kB / 0.567 GB, free: 12.13 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.0001075/0.2771, allocations: 129.7 kB / 0.5671 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.2772, allocations: 23.86 kB / 0.5671 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.2775, allocations: 138.9 kB / 0.5673 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2775, allocations: 0 / 0.5673 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2775, allocations: 0 / 0.5673 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2775, allocations: 0 / 0.5673 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.2778, allocations: 225.5 kB / 0.5675 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/0.2778, allocations: 11.98 kB / 0.5675 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.837e-05/0.2778, allocations: 8 kB / 0.5675 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2778, allocations: 0 / 0.5675 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.2778, allocations: 0 / 0.5675 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.2778, allocations: 0 / 0.5675 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2779, allocations: 7.984 kB / 0.5675 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.2782, allocations: 211.2 kB / 0.5677 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.277e-05/0.2782, allocations: 92.97 kB / 0.5678 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.2783, allocations: 7.984 kB / 0.5678 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.65e-05/0.2783, allocations: 4 kB / 0.5678 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.2784, allocations: 7.984 kB / 0.5678 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.2784, allocations: 4 kB / 0.5678 GB, free: 11.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001583/0.2786, allocations: 182 kB / 0.568 GB, free: 11 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2786, allocations: 0 / 0.568 GB, free: 11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003428/0.2789, allocations: 79.73 kB / 0.5681 GB, free: 10.92 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.0007655/0.2797, allocations: 0.809 MB / 0.5689 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004085/0.2801, allocations: 175.1 kB / 0.569 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2801, allocations: 0.875 kB / 0.569 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.2803, allocations: 99.38 kB / 0.5691 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.2806, allocations: 20.88 kB / 0.5692 GB, free: 9.766 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.2833, allocations: 2.384 MB / 0.5715 GB, free: 7.223 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.2836, allocations: 0.7281 MB / 0.5722 GB, free: 6.469 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.695e-05/0.2837, allocations: 13.97 kB / 0.5722 GB, free: 6.457 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/0.2838, allocations: 63.41 kB / 0.5723 GB, free: 6.395 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2838, allocations: 4 kB / 0.5723 GB, free: 6.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.3138, allocations: 6.781 MB / 0.5789 GB, free: 15.74 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.81, allocations: 3.984 kB / 0.5789 GB, free: 15.73 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201879 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.343241213005967]