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.StraightPipe.kc_turbulent.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.00143/0.00143, allocations: 105.7 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.001517/0.001517, allocations: 215 kB / 22.92 MB, free: 5.191 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.296/1.296, allocations: 230.2 MB / 256.2 MB, free: 8.621 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.1992/0.1992, allocations: 46.89 MB / 359.3 MB, free: 4.992 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.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",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.002066/0.002066, allocations: 80.05 kB / 0.494 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2552, allocations: 65.99 MB / 0.5584 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003246/0.2584, allocations: 2.038 MB / 0.5604 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.2602, allocations: 1.169 MB / 0.5616 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.047e-05/0.2603, allocations: 3.938 kB / 0.5616 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.2605, allocations: 71.64 kB / 0.5617 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.2607, allocations: 71.53 kB / 0.5617 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005095/0.2612, allocations: 183.3 kB / 0.5619 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003774/0.2616, allocations: 330.4 kB / 0.5622 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.766e-05/0.2616, allocations: 18.52 kB / 0.5622 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.2618, allocations: 119.4 kB / 0.5623 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.262, allocations: 147.3 kB / 0.5625 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.2621, allocations: 8 kB / 0.5625 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003625/0.2624, allocations: 211.7 kB / 0.5627 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.711e-05/0.2625, allocations: 71.67 kB / 0.5628 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.2626, allocations: 127.1 kB / 0.5629 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004681/0.2631, allocations: 398.3 kB / 0.5633 GB, free: 272 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.2631, allocations: 0 / 0.5633 GB, free: 272 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2631, allocations: 0 / 0.5633 GB, free: 272 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.2631, allocations: 4 kB / 0.5633 GB, free: 268 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001048/0.2642, allocations: 0.6465 MB / 0.5639 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.2642, allocations: 8.031 kB / 0.5639 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.783e-05/0.2643, allocations: 66.72 kB / 0.564 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003421/0.2646, allocations: 68.66 kB / 0.564 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.2649, allocations: 259.4 kB / 0.5643 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.2649, allocations: 24.56 kB / 0.5643 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.265, allocations: 27.98 kB / 0.5643 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007052/0.2657, allocations: 433.9 kB / 0.5647 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2657, allocations: 0 / 0.5647 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.2657, allocations: 8 kB / 0.5648 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/0.2657, allocations: 20.56 kB / 0.5648 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006787/0.2664, allocations: 321.9 kB / 0.5651 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.2678, allocations: 1.104 MB / 0.5662 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004823/0.2683, allocations: 239.7 kB / 0.5664 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.2686, allocations: 106.5 kB / 0.5665 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.2686, allocations: 4 kB / 0.5665 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.2686, allocations: 38.5 kB / 0.5665 GB, free: 12.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.2686, allocations: 4 kB / 0.5665 GB, free: 12.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009897/0.2696, allocations: 357.1 kB / 0.5669 GB, free: 12.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.2697, allocations: 106.8 kB / 0.567 GB, free: 12.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004256/0.2701, allocations: 405.8 kB / 0.5674 GB, free: 11.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.2701, allocations: 33.7 kB / 0.5674 GB, free: 11.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.2703, allocations: 200 kB / 0.5676 GB, free: 11.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/0.2703, allocations: 51.56 kB / 0.5676 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.2704, allocations: 65.89 kB / 0.5677 GB, free: 11.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2706, allocations: 342.8 kB / 0.568 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.2709, allocations: 112.1 kB / 0.5681 GB, free: 10.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/0.2713, allocations: 242.4 kB / 0.5684 GB, free: 10.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006824/0.272, allocations: 366.9 kB / 0.5687 GB, free: 10.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.272, allocations: 4 kB / 0.5687 GB, free: 10.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008314/0.2728, allocations: 393.4 kB / 0.5691 GB, free: 9.883 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2728, allocations: 16.02 kB / 0.5691 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.63e-05/0.2729, allocations: 27.94 kB / 0.5691 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.2729, allocations: 8 kB / 0.5691 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.2731, allocations: 55.83 kB / 0.5692 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.2731, allocations: 7.938 kB / 0.5692 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.2734, allocations: 63.59 kB / 0.5693 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.2734, allocations: 12 kB / 0.5693 GB, free: 9.695 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0001837/0.2736, allocations: 177.7 kB / 0.5694 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.914e-05/0.2737, allocations: 31.81 kB / 0.5695 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005987/0.2743, allocations: 284.4 kB / 0.5697 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.2743, allocations: 7.938 kB / 0.5697 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2743, allocations: 0 / 0.5697 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2743, allocations: 8 kB / 0.5698 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.2748, allocations: 301.5 kB / 0.57 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.482e-05/0.2748, allocations: 20 kB / 0.5701 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.275, allocations: 23.97 kB / 0.5701 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.275, allocations: 0 / 0.5701 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.275, allocations: 7.984 kB / 0.5701 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.275, allocations: 3.938 kB / 0.5701 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.275, allocations: 4 kB / 0.5701 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007742/0.2758, allocations: 0.5127 MB / 0.5706 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.2759, allocations: 112.8 kB / 0.5707 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.2759, allocations: 3.984 kB / 0.5707 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.2762, allocations: 27.92 kB / 0.5707 GB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.2762, allocations: 15.98 kB / 0.5708 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.2762, allocations: 4 kB / 0.5708 GB, free: 8.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003036/0.2765, allocations: 291.1 kB / 0.571 GB, free: 7.785 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2765, allocations: 4 kB / 0.571 GB, free: 7.781 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004851/0.277, allocations: 87.88 kB / 0.5711 GB, free: 7.695 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001197/0.2782, allocations: 1.097 MB / 0.5722 GB, free: 6.566 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008115/0.279, allocations: 429.9 kB / 0.5726 GB, free: 6.109 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.279, allocations: 0 / 0.5726 GB, free: 6.109 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003954/0.2794, allocations: 267 kB / 0.5729 GB, free: 5.812 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/0.28, allocations: 77.75 kB / 0.5729 GB, free: 5.738 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005089/0.2851, allocations: 3.85 MB / 0.5767 GB, free: 1.699 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.2855, allocations: 0.7948 MB / 0.5775 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.2856, allocations: 62.92 kB / 0.5775 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.2858, allocations: 91.34 kB / 0.5776 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2858, allocations: 0 / 0.5776 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03156/0.3173, allocations: 9.125 MB / 0.5865 GB, free: 7.742 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.503/7.82, allocations: 8.078 kB / 0.5865 GB, free: 7.734 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000201839 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.33485238700814]