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.Plate.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001686/0.001686, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002088/0.002088, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2274/0.2274, allocations: 46.12 MB / 344.2 MB, free: 11.58 MB / 286.1 MB 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.003776/0.003776, allocations: 79.08 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1366, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.003522/0.1402, allocations: 1.838 MB / 482.1 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.1421, allocations: 1.016 MB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.1422, allocations: 11.88 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.1425, allocations: 35.77 kB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.1428, allocations: 71.66 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.1433, allocations: 135.5 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.1436, allocations: 215.2 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.415e-05/0.1437, allocations: 17.55 kB / 483.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.1439, allocations: 91.62 kB / 483.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.1441, allocations: 99.58 kB / 483.8 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.1441, allocations: 12 kB / 483.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003003/0.1445, allocations: 127.8 kB / 483.9 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.473e-05/0.1445, allocations: 55.75 kB / 483.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.1447, allocations: 79.53 kB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004687/0.1451, allocations: 259.3 kB / 484.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1452, allocations: 4 kB / 484.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1452, allocations: 4 kB / 484.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.1452, allocations: 0 / 484.3 MB, free: 1.055 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001162/0.1463, allocations: 0.5222 MB / 484.8 MB, free: 492 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1464, allocations: 12.03 kB / 484.8 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.781e-05/0.1465, allocations: 42.73 kB / 484.9 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003986/0.1469, allocations: 64.61 kB / 484.9 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.1472, allocations: 228 kB / 485.1 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.1472, allocations: 8.609 kB / 485.2 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.1473, allocations: 8.375 kB / 485.2 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006411/0.1479, allocations: 270.8 kB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1479, allocations: 3.938 kB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.148, allocations: 4 kB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.47e-05/0.148, allocations: 16.22 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006439/0.1487, allocations: 224.3 kB / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.1502, allocations: 0.8023 MB / 486.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/0.1506, allocations: 187.7 kB / 486.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.151, allocations: 110.6 kB / 486.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.868e-05/0.151, allocations: 11.98 kB / 486.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/0.1511, allocations: 38.55 kB / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.895e-06/0.1511, allocations: 0 / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001103/0.1522, allocations: 321.1 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.222e-05/0.1523, allocations: 106.8 kB / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003597/0.1527, allocations: 257 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.1527, allocations: 29.7 kB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.1529, allocations: 135.9 kB / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.1529, allocations: 35.45 kB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.1531, allocations: 41.77 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.1533, allocations: 334.8 kB / 488 MB, free: 13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.1536, allocations: 91.89 kB / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.1539, allocations: 140.1 kB / 488.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006539/0.1545, allocations: 228.9 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1546, allocations: 0 / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007353/0.1553, allocations: 273 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1553, allocations: 8.156 kB / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.42e-05/0.1554, allocations: 15.98 kB / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.1554, allocations: 0 / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.1557, allocations: 35.97 kB / 488.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1557, allocations: 0 / 488.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.1559, allocations: 39.75 kB / 488.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.156, allocations: 15.94 kB / 488.9 MB, free: 12.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001849/0.1562, allocations: 141.8 kB / 489 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.681e-05/0.1563, allocations: 20.28 kB / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006094/0.1569, allocations: 223 kB / 489.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.1569, allocations: 4 kB / 489.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.1569, allocations: 0 / 489.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.157, allocations: 7.938 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005425/0.1575, allocations: 253.5 kB / 489.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.266e-05/0.1575, allocations: 12 kB / 489.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.1577, allocations: 31.95 kB / 489.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.1577, allocations: 4 kB / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.1578, allocations: 8 kB / 489.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1578, allocations: 0 / 489.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1578, allocations: 4.031 kB / 489.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007262/0.1585, allocations: 481.6 kB / 490 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.454e-05/0.1586, allocations: 104.8 kB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.1587, allocations: 4 kB / 490.1 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.159, allocations: 15.98 kB / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.767e-05/0.1591, allocations: 19.92 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.1591, allocations: 11.98 kB / 490.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002108/0.1593, allocations: 192.4 kB / 490.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1593, allocations: 3.938 kB / 490.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004442/0.1598, allocations: 64 kB / 490.4 MB, free: 10.46 MB / 366.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): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001239/0.161, allocations: 1.066 MB / 491.5 MB, free: 9.363 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007694/0.1618, allocations: 284.8 kB / 491.8 MB, free: 9.066 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1618, allocations: 0 / 491.8 MB, free: 9.066 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003526/0.1622, allocations: 189.2 kB / 492 MB, free: 8.863 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/0.1627, allocations: 40.36 kB / 492 MB, free: 8.824 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004449/0.1672, allocations: 2.838 MB / 494.8 MB, free: 5.867 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.1676, allocations: 0.7436 MB / 495.6 MB, free: 5.098 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.1677, allocations: 41.45 kB / 495.6 MB, free: 5.059 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.1678, allocations: 55.41 kB / 495.7 MB, free: 5.004 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1678, allocations: 0 / 495.7 MB, free: 5.004 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/0.1965, allocations: 5.878 MB / 0.4898 GB, free: 15.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.182/8.379, allocations: 13.27 kB / 0.4898 GB, free: 15.28 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1)