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.001277/0.001277, allocations: 122.2 kB / 17.78 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, allocations: 197.2 kB / 18.72 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 247 MB, free: 10.42 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.2226/0.2226, allocations: 46.11 MB / 344.3 MB, free: 11.47 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.002554/0.002554, allocations: 79.86 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3312, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.00313/0.3344, allocations: 1.834 MB / 0.5324 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.3361, allocations: 1.024 MB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.828e-05/0.3362, allocations: 1.375 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.3365, allocations: 41.38 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002393/0.3368, allocations: 69.34 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.3372, allocations: 130.7 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002973/0.3375, allocations: 215.2 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.287e-05/0.3376, allocations: 22.36 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.3378, allocations: 96.77 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.338, allocations: 106.9 kB / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.338, allocations: 8.031 kB / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002876/0.3383, allocations: 130.1 kB / 0.5342 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.941e-05/0.3384, allocations: 49.44 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.3386, allocations: 90.05 kB / 0.5343 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.339, allocations: 254.1 kB / 0.5346 GB, free: 10.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.339, allocations: 7.922 kB / 0.5346 GB, free: 10.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.339, allocations: 0 / 0.5346 GB, free: 10.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.339, allocations: 0 / 0.5346 GB, free: 10.42 MB / 398.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.001072/0.3401, allocations: 0.5297 MB / 0.5351 GB, free: 9.926 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.3401, allocations: 13.62 kB / 0.5351 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.119e-05/0.3402, allocations: 44.23 kB / 0.5351 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004124/0.3406, allocations: 55.02 kB / 0.5352 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.3409, allocations: 235.3 kB / 0.5354 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.3409, allocations: 10.11 kB / 0.5354 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.3409, allocations: 7.25 kB / 0.5354 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/0.3415, allocations: 278.5 kB / 0.5357 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3415, allocations: 0 / 0.5357 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.3415, allocations: 8.984 kB / 0.5357 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.069e-05/0.3416, allocations: 15.11 kB / 0.5357 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00057/0.3422, allocations: 222 kB / 0.5359 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.3433, allocations: 0.8094 MB / 0.5367 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004177/0.3437, allocations: 189.5 kB / 0.5369 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.344, allocations: 105.3 kB / 0.537 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.3441, allocations: 6.188 kB / 0.537 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.3441, allocations: 37 kB / 0.5371 GB, free: 8.359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.3441, allocations: 0 / 0.5371 GB, free: 8.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00101/0.3451, allocations: 317.1 kB / 0.5374 GB, free: 8.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.3452, allocations: 108.1 kB / 0.5375 GB, free: 8.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.3455, allocations: 265.1 kB / 0.5377 GB, free: 7.898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.3456, allocations: 33.64 kB / 0.5377 GB, free: 7.859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.3457, allocations: 125.5 kB / 0.5379 GB, free: 7.742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.3457, allocations: 40.2 kB / 0.5379 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-05/0.3458, allocations: 48.67 kB / 0.5379 GB, free: 7.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.346, allocations: 336.2 kB / 0.5383 GB, free: 7.336 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.3463, allocations: 90.27 kB / 0.5384 GB, free: 7.301 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.3466, allocations: 136.8 kB / 0.5385 GB, free: 7.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005586/0.3471, allocations: 226.4 kB / 0.5387 GB, free: 7.078 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3471, allocations: 1.062 kB / 0.5387 GB, free: 7.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006775/0.3478, allocations: 275.6 kB / 0.539 GB, free: 6.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3479, allocations: 6.125 kB / 0.539 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.213e-05/0.3479, allocations: 14.81 kB / 0.539 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3479, allocations: 2.156 kB / 0.539 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.3482, allocations: 37.89 kB / 0.539 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.3482, allocations: 1.438 kB / 0.539 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.3484, allocations: 38.95 kB / 0.5391 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.3484, allocations: 13.61 kB / 0.5391 GB, free: 6.891 MB / 398.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.0001415/0.3486, allocations: 149.2 kB / 0.5392 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.931e-05/0.3487, allocations: 21.98 kB / 0.5392 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005135/0.3492, allocations: 221.1 kB / 0.5394 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3492, allocations: 2.938 kB / 0.5395 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3492, allocations: 1.562 kB / 0.5395 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3492, allocations: 0 / 0.5395 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.3497, allocations: 259.8 kB / 0.5397 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/0.3497, allocations: 13.47 kB / 0.5397 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.3499, allocations: 28.5 kB / 0.5397 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3499, allocations: 1.125 kB / 0.5397 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.3499, allocations: 10.61 kB / 0.5398 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3499, allocations: 1.688 kB / 0.5398 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3499, allocations: 0 / 0.5398 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006998/0.3506, allocations: 489.4 kB / 0.5402 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.687e-05/0.3507, allocations: 93.64 kB / 0.5403 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.3507, allocations: 9.719 kB / 0.5403 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.351, allocations: 17.56 kB / 0.5403 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.968e-05/0.3511, allocations: 22.23 kB / 0.5404 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.3511, allocations: 4.25 kB / 0.5404 GB, free: 5.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002069/0.3513, allocations: 194 kB / 0.5405 GB, free: 5.695 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3513, allocations: 0 / 0.5405 GB, free: 5.695 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004456/0.3518, allocations: 75.2 kB / 0.5406 GB, free: 5.676 MB / 398.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.00124/0.353, allocations: 1.061 MB / 0.5417 GB, free: 4.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006955/0.3537, allocations: 290.4 kB / 0.5419 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3537, allocations: 4.062 kB / 0.5419 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003214/0.3541, allocations: 178 kB / 0.5421 GB, free: 4.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.3546, allocations: 47.62 kB / 0.5422 GB, free: 4.402 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004515/0.3591, allocations: 2.831 MB / 0.5449 GB, free: 2.285 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.3596, allocations: 0.7484 MB / 0.5456 GB, free: 1.555 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001651/0.3598, allocations: 35.41 kB / 0.5457 GB, free: 1.547 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.3599, allocations: 55.44 kB / 0.5457 GB, free: 1.504 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3599, allocations: 1.219 kB / 0.5457 GB, free: 1.504 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.388, allocations: 5.936 MB / 0.5515 GB, free: 11.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/8.571, allocations: 10.14 kB / 0.5515 GB, free: 11.89 MB / 414.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)